At 6/22/2009 03:12 AM, Tim Snadden wrote: >On 22/06/2009, at 9:43 PM, Paul Novitski wrote: > > > 3) LI is by default a block-level element, > >It's probably worth mentioning that the default display property of >'li' is list-item, not block. That's not to take away from the rest of >the advice though.
I was referring not to li's display property but rather to the fact that it's normally a block-level element. To quote the old spec: 9.2.1 Block-level elements and block boxes Block-level elements are those elements of the source document that are formatted visually as blocks (e.g., paragraphs). Several values of the 'display' property make an element block-level: 'block', 'list-item', and 'run-in'.... http://www.w3.org/TR/CSS21/visuren.html#block-boxes Regards, Paul __________________________ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
