In article <bv************@ID-16734.news.uni-berlin.de>,
Matthias Gutfeldt <sa************@gmx.net> wrote:
Lee K. Seitz wrote: I have a set of nested lists:
Rather than the typical display, I'd like to display sides one and two
side by side, like this:
Side One Side Two
Pac-Man Fever Hyperspace
Froggy's Lament The Defender
Ode to a Centipede Mousetrap
Do the Donkey Kong Goin'Berzerk
I created a quick example that seems to be roughly doing what you want,
tested in Mozilla1.3, Opera7.03 and IE6:
<http://gutfeldt.ch/matthias/test/lists-side-by-side.html>
Interestingly, it doesn't work in Opera 7.23, which I downloaded last
night. Is this a beta version? It didn't say so (that I saw).
Still, most of my users seem to use IE, so I won't lose sleep over it.
By the way, your list markup is not correct. Remember that you're trying
to *nest* the lists: The second list is part of a list element of the
first list:
<ul>
<li>First list element</li>
<li>Second list element
<ul><li>Nested list is part of second list element</li></ul>
</li>
</ul>
Nested lists are difficult to handle, I keep getting it wrong all the
time, so it's best to validate the HTML before you try to style it.
D'oh! I forgot to validate it before posting. Sorry, I just was
getting frustrated and didn't think about it.
Thanks for the tip. In Internet terms, I'm an old fogie. I've been
doing HTML since version 1.0 and am not used to having to close my
list elements. (I'm trying to use XHTML, too, as I redo this set of
pages.) I'm going to get used to it, though!
(BTW, Neal, if you're reading this, thanks for your response, too.)
--
lkseitz (Lee K. Seitz) .at. hiwaay @dot@ net
'70s flashback: It takes two hands to handle a Whopper.