Julián asked what the advantage of floating <li>s is over display inline.

Essentially it depends on how you want to display your menu. Using the
float method ensures the li's are block level and therefore you can
use margins and padding etc.

Personally I always use float:left rather than display:inline. 

In the past I have found using display:inline causes problems with
list items and background images. In old versions of IE the list item
text will overlap the background image (if for example it is a small
'icon' that should show to the left of the text) because the padding
wont be applied with display:inline however this is avoided if it is
block level.

Regarding your "reverse-order menu"... I think you've floated each
list item right. What you need to do is float each item left but
contain all the items in one div and float the div right, *not* the
list items.

Hope this helps,
Paul.
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to