On Aug 8, 2006, at 10:37 AM, Nello Lucchesi wrote:

I am trying to style an ordered list to display horizontally. I want the display to include the numbers (markers).

At first, I tried display: inline; but that eliminated the markers since the items were no longer display: list-item.

So, I tried a float instead.  It works in Firefox but not IE(6).

Please see:
 http://lucchesi.org/list.htm

Can anyone explain to me why the item markers aren't displayed in IE?

Unfortunately, IE's support for display:list-item is weak, to say the least. Because the list-items are floated, they become display:block in IE (wrong). Additionally the acquire 'layout' [1] which also messes up with list-markers. You list-markers are also missing in Opera (still) (tested 9.01, Mac OS X); that is a bug in Opera imho.

Solutions ? Not many... add the numbers manually? or use the DOM to append them with a script.


[1] <http://www.satzansatz.de/cssd/onhavinglayout.html#list>

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>





******************************************************
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