Hello all -

I'm a complete CSS novice, with only about ten months HTML experience (all
learned from helping with a table-based redesign of my company's website)
and only one month of self study in xhtml, css, and standards-based coding.
So, you know, take pity on me and stuff.

On a couple sites that I've looked at in the last couple weeks (Dan
Cederholm's simplebits.com being a perfect example), the <li> elements that
make up the navigation bar are styled to float: left.  However, on Dan's
site, I don't see a display: inline rule applied to any part of that list.
I noticed that in the first chapter of his Web Standards Solutions, you use
display: inline to take the "first step" towards making the example list
horizontal.

What's the benefit of displaying the list as inline if floating each <li>
element left within the containing block could accomplish the same effect?
Are there any examples where you *have* to use the display: inline rule to
acheive the intended effect of taking a list of <li> elements and making
them align horizontally.  In looking at a bunch of different examples from
across the web, I see that this style is used pretty consistently for this
kind of use.  I just can't figure out *why.*

Thanks so much for your help!

Matt
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to