Previous Message
Next Message

Aligning left right floated list

Sent by Stefano Guidi on 29 March 2004 09:09


Hi, 

I've made an horizontal list for navigational purpose, but to be able to revert the items order in
the code (XHTML transitional) I've set list elements to display:block and floated them right. This
cause my menu to be right aligned, inside the container div. Is there any way to anchor the list to
the left? I've tried to set the text-align of the container list to center, but it doesn't work. 

I know that the simplest way wuold be to left float the list items and put them in the correct
order in the code, but then the page would be slightly less accessible, since the screen reader
would have to read some potentially distracting links before the main content.

Please help!

Thank you all.

S
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message