lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Nested lists


From: Walter Ian Kaye
Subject: Re: [Lynx-dev] Nested lists
Date: Tue, 26 Sep 2006 14:27:51 -0700

At 08:59p -0700 09/24/2006, Walter Ian Kaye didst inscribe upon an electronic papyrus:

OK, so I'm stuck with bullets in Lynx, no way to hide 'em. :/

This seems to look "right" :-) in Safari:

I cleaned up the CSS, based on some code I found online (the example had 'li ul li ul li' -- dunno why so many; doesn't seem to need any more than 'li ul'):

<HTML>
<HEAD>
<TITLE>Site Map tests</TITLE>
<STYLE>
   <!--
   #sitemap       { margin-left: 0em; padding-left: 0em }
   #sitemap LI    { margin-left: 0em; padding-left: 0em; list-style: none; }
   #sitemap LI UL { margin-left: 1em; padding-left: 1em; margin-top: 0 }
   -->
</STYLE>
</HEAD>
<BODY>

<UL ID=sitemap>
    <LI><A HREF="x">Menu Level 1</A>:<UL> <!--home page-->
        <LI><A HREF="x">submenu level 1a</A></LI>
        <LI><A HREF="x">submenu level 1b</A></LI>
        <LI><A HREF="x">Menu Level 2</A>:<UL>
            <LI><A HREF="x">submenu level 2a</A></LI>
            <LI><A HREF="x">submenu level 2b</A></LI>
            <LI><A HREF="x">Menu Level 3</A>:<UL>
                <LI><A HREF="x">submenu level 3a</A></LI>
                <LI><A HREF="x">submenu level 3b</A></LI>
                <LI><A HREF="x">Menu Level 4</A>:</LI><UL>
                    <LI><A HREF="x">submenu level 4a</A></LI>
                    <LI><A HREF="x">submenu level 4b</A></LI>
                </UL></LI>
            </UL></LI>
        </UL></LI>
    </UL></LI>
</UL>

</BODY>
</HTML>

PS. Thorsten: try <BR>&nbsp; for a blank line ;)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]