SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2006
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    nested ul styled to appear as separate lists

    Hello,
    I'm currently trying to have nested ul's in order to have them displayed as such:

    List 1 List 2 List 3
    Link Link Link
    Link Link Link
    Link Link Link
    Link Link Link
    Link Link Link
    Link Link Link


    However i need the links to be elastic. Does anyone know if this is possible in fx, ie 6+?

    my current code is below

    HTML Code:
    <head>
    	<style>
    		ul { padding:0px; margin:0px; list-style:none; outside:none; width:33&#37;; }
    		ul ul { position:absolute; left:33%; width:34%; top:0; }
    		ul ul ul { position:absolute; left:67%; width:33%; top:0; } 
    	</style>
    </head>
    <body>
    
    <ul>
    	<li><a href="#">Link<a></li>
    	<li><a href="#">Link<a></li>
    	<li><a href="#">Link</a>
    		<ul>
    			<li><a href="#">Link</a></li>
    			<li><a href="#">Link</a></li>
    			<li><a href="#">Link</a>
    				<ul>
    					<li><a href="#">Link</a></li>
    					<li><a href="#">Link</a></li>
    					<li><a href="#">Link</a></li>
    					<li><a href="#">Link</a></li>
    					<li><a href="#">Link</a></li>
    					<li><a href="#">Link</a></li>
    				</ul>
    			</li>
    			<li><a href="#">Link</a></li>
    			<li><a href="#">Link</a></li>
    			<li><a href="#">Link</a></li>
    		</ul>
    	</li>
    	<li><a href="#">Link</a></li>
    	<li><a href="#">Link</a></li>
    	<li><a href="#">Link</a></li>
    </ul>
    
    </body>
    </html>

  2. #2
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This may not even be remotely of use, but your layout reminded me of this CSS.


    Andy
    From the English nation to a US location.

  3. #3
    SitePoint Addict shad0w's Avatar
    Join Date
    Aug 2003
    Location
    PA
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I understand correctly, you're trying to do multi column lists. This might help:

    http://www.alistapart.com/articles/multicolumnlists/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •