Ingo Chao wrote:
> Eystein Alnaes wrote:
>> I'm having trouble making IE6 display the numbers in a ordered
>> list...
>
>> #breadcrumbs li {
>> float: left;
>> background: transparent;
>> list-style: decimal;
>> padding-left: 30px;
>> margin-left: 30px;
>> }
>
>
> If haslayout is set on li in an ol, it will disrupt the numbering
> (you'll get 1. 1. 1. 1.) and because this looks so wrong, float
> will cut
> this number itself in addition.
>
> google site:archivist.incutio.com IE6 ol
>
> In addition
> http://www.brunildo.org/test/IEul1.html
>
> I'm afraid there is no fix.
In addition to what Ingo noted.
When you float a <li> in IE, it changes the display property form
display:list-item to display:block. In that case, no list marker is
generated anymore.
Other browsers (Gecko, Safari), treat display:list-item as a special
case of display:block (per the specs I believe), and when floating a
list-item, they don't change the value of the display property. And
IE treats display:list-item as a sort of inline element.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/