lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Nested lists


From: Thorsten Glaser
Subject: Re: [Lynx-dev] Nested lists
Date: Tue, 26 Sep 2006 08:54:11 +0000 (UTC)

Isn't something like this possible:

ul.lv1 {
        position:relative; left:-20px; width:95%;
        list-style:disc;
}

ul.lv2 {
        position:relative; left:-20px; width:90%;
        list-style:square;
}

<ul class="lv1">
 <li>Something-1<ul class="lv2">
  <li>sub-1a</li>
  <li>sub-1b</li>
  <li>sub-1c</li>
 </ul></li>
 <li>Something-2</li>
 <li>Something-3</li>
 <li style="list-style:none;"></li><!-- this is basically an empty line -->
 <li>Something-4</li>
 <li>Something-5<ul class="lv2">
  <li>sub-5a</li>
  <li>sub-5b</li>
 </ul></li>
 <li>Something-6</li>
</ul>

(Actually ripped from the website of my operating
system; the W3C XHTML/1.1 and CSS validators let
it pass, but YMMV.)

//mirabile
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999




reply via email to

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