Previous Message
Next Message

lists with <p> in Safari

Sent by Christian Heilmann on 22 September 2005 22:10


> Most of my html lists need to have a blank line between line items. DreamWeaver (v6 through 8)
shows the html as <li><p>...</p></li>, and BBEdit's syntax checker (v6 through 8) passes this as
correct for html 4.01 Transitional and xhtml 1.0 Transitional. In fact this code works in all
browsers I've tried except Safari (any version). Is this a bug in Safari, or is the syntax flawed?

if you add a P just to have some whitespace then, yes your syntax is
flawed. Why don't you just use

li{
margin-bottom:1em;
}

to get the line spacing between the LIs?


--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: