Previous Message
Next Message

Nested list margins in IE

Sent by ~davidLaakso on 15 March 2007 00:12


Daniel Beardsmore wrote:
> Terry Thompson wrote:
>   
>> This may be related to IE's implementation of list-style-type:none, which
>> I've defined for the ordered list. The numbers for each list item in the
>> ordered list originally appeared each on their own line. Now, after adding
>> list-style-type:none, the numbers have disappeared but the line they
>> originally appeared on is still present. 
>>     
>
> You seem to be a bit screwed. If no-one manages to solve this, adding a border 
> on the outer list items works, but since you can't specify those directly (no >) 
> you can write:
>
>    li { border: 1px solid white }
>
> This replaces the margin/padding instructions.
>
> For reasons I've never understood, placing a border around an element radically 
> changes its behaviour. 


This is in reference to:

http://staff.washington.edu/tft/ncaa/lists.html 



Putting a border around it for IE is about "On Having Layout" [1]. 
Others on the list may come up with a different method for doing the same.
<http://www.satzansatz.de/cssd/onhavinglayout.html>



Best,

~dL







-- 
http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: