![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Howdy all, After following a tutorial on ALA (taming lists) I converted my navigation box from a table to a list. Generally very happy with it with the exception of IE6 on the Win platform (haven't tested earlier versions of IE on Win) On IE6 for Win the <li>'s are spaced apart vertically, almost looks as though there is an additional blank line between each one. URL is: http:www.slidenight.com Screenshots (Mac - how it should be): http://www.slidenight.com/temp/iemac.jpg http://www.slidenight.com/temp/moz1.4.jpg http://www.slidenight.com/temp/camino07.jpg http://www.slidenight.com/temp/mozfirebird.jpg http://www.slidenight.com/temp/safari.jpg the navigation box comes from an include: http://www.slidenight.com/includes/navbox.php stylesheet is at: http://www.slidenight.com/styles/layout1.css Any help in getting it right for IE6 win (and lower versions if the same problem exists) would be much appreciated. Cheers Jon Remove all the spaces between </li> and <li> also line-breaks. You code |
#3
| |||
| |||
|
|
Remove all the spaces between </li> and <li> also line-breaks. You code will look horrible, but it will work. |
#4
| |||
| |||
|
|
This may also work, but will look less horrible: ul li>item</li li>item</li li>item</li /ul |
#5
| ||||
| ||||
|
|
Kris wrote: This may also work, but will look less horrible: | <ul | li>item</li |
|
Or use the proper way to get rid of white space: ul><!-- --><li>item</li><!-- |
|
li item</li |
|
) Eric Bednarz -( ) http://bednarz.nl/ |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
It seems to me that the CSS and HTML can be simplified and achieve the desired effect by doing away with the list. As is, the CSS turns off the list style and the anchor becomes a block element, so I don't see the purpose served by using "ul" and "li" tags. Instead, put the anchors inside of "divs". Or just use anchors with "br"s between. |
#8
| |||
| |||
|
|
I don't see the purpose served by using "ul" and "li" tags. |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |