Terry Thompson wrote:
> http://staff.washington.edu/tft/ncaa/lists.html

> I'm trying to display a series of unordered lists, nested within an 
> ordered list, with no margin or padding between lists. This works 
> well in Firefox and Opera (Win), and Safari (Mac), but IE 6 and 7 
> (Win) both insist on placing a gap between the nested unordered 
> lists.

Gap will disappear with a well-placed 'hasLayout'[1] trigger and a bit
of cross-browser styling, and it isn't limited to the properties/values
I have used in this example...
<http://www.gunlaug.no/tos/alien/test_07_3710.html>

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

List-markers don't take up space - they occupy the space given to them.
Thus, the default-space will be there, until you change the space
itself. There's nothing special in how IE/win handles this - once we've
dealt with the default margins vs. paddings, so it all comes down to
that 'hasLayout'[1] trigger and cross-browser styling.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to