- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’ve got a multi-level unordered list that I’m using to create a navigation menu:
HTML:
CSS:
The problem is Menu Item 3.3, which wraps to a second line. The padding that I specified for each <li> only applies to the first line (because <a> is an inline element), so the second line ends up losing the indent, falling back all the way to the left. I set "display: block" on the <a> to fix it, but for some reason that makes IE6 freak out and add crazy amounts of spacing between everything.
Download the code and look at it in Firefox – that’s exactly how I want it to display. I just need it to look the same way in IE. Any ideas?
I think we should start locking posts after it’s been solved so they can’t be spammed… dam bots SERIOUSLY ANNOYING ME