HTML Help

Discussion in 'All other topics' started by nikhilr51, Jul 18, 2009.

  1. nikhilr51

    nikhilr51 Member

    Joined:
    Sep 21, 2007
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    16
    Hi,
    I'm trying to make a drop down menu for a website but am having a bit of trouble. Using this html:

    Code:
    <li><a href="#">Services</a>
         <ul>
    	<li><a href="stuff.html">Stuff</a></li>
    	<li><a href="phoneno.html">Phone Numbers</a></li>
    	<li><a href="morestuff.html">More Stuff</a>
            <ul>
    		<li><a href="#">A Long Line Of Text</a></li>
    		<li><a href="#">Stuff Stuff Stuff Stuff Stuff Stuff Stuff</a></li>
    							
    	   </ul>
    	</li>
    I get this menu: [​IMG]

    My problem is that when the text gets too long it creates a new line. I would like to have it in one single line. Is this possible and how can i do it?

    Thanks in advance.
     
  2. Ripper

    Ripper Active member

    Joined:
    Feb 20, 2006
    Messages:
    4,697
    Likes Received:
    13
    Trophy Points:
    68
    Do you have an attached .css file? It's probably a variable for either the <li> or <ul> tag. Alternatively, I'm sure you could set a width value yourself.
     
  3. nikhilr51

    nikhilr51 Member

    Joined:
    Sep 21, 2007
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    16
    I'm a complete noob, how can i change the width valve?
    Thanks for your reply.
     
  4. nikhilr51

    nikhilr51 Member

    Joined:
    Sep 21, 2007
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    16
  5. nikhilr51

    nikhilr51 Member

    Joined:
    Sep 21, 2007
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    16

Share This Page