Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2005
    Posts
    336
    Thanks
    43
    Thanked 2 Times in 2 Posts

    Can I place a UL iside a UL?

    Can I put an UL inside Li's for example -

    <ul id ="test">
    <li><a href="#">test one</a></li>
    <li><a href="#">test two</a></li>
    <li><a href="#">test three</a></li>
    <li><a href="#">test four</a></li>

    <ul id = "test2">
    <li>test2</li>
    </ul>

    </ul>

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Yes but it needs to be inside of an li like so
    Code:
    <ul id="test">
    	<li><a href="#">test one</a></li>
    	<li><a href="#">test two</a></li>
    	<li><a href="#">test three</a></li>
    	<li><a href="#">test four</a></li>
    	<li>
    		<ul id="test2">
    			<li>test2</li>
    		</ul>
    	</li>
    </ul>
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Oct 2005
    Posts
    336
    Thanks
    43
    Thanked 2 Times in 2 Posts
    Thanks!


  •  

    Posting Permissions

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