Jump to content

Recommended Posts

Posted

Adding

ul {
   list-style: none;
}

ul li {
   float: left;
   }

Is one way to get things horizontal (and remove the bullets).

 

You have several errors in your code - your list should look like this:

></pre>
<ul>
Products

Laptops
Mobiles

Download


Mac Version
Windows Version

Contact Us

and 'size' is not a valid selector.

Posted

In addition to Thelma's response, the invalid 'size' selector seems to be indicating that you are trying to set the width of the hyperlink. You would use 'width' instead. (i.e. width: 200px; )

 

Finally, after you fix the html (per Thelma's example), you will need to use a small script to for IE6 so that the dropdown will work.

Posted

You may want to look again at my earlier post (Post # 2 in this thread) where I clearly state that your HTML for your list is incorrect - you are missing the opening and closing

  • tags around the entire thing - and I posted the code that you should have. I also gave you some CSS to add to your CSS - specifically for ul and ul li - is there any reason you don't want to try that - or you have tried it and it didn't work?
Posted

You need to be a bit more specific about what you really want - in the very first post in this thread, you say "How can I make it horizontal' - well, actually, you said 'how i can make it horizantal', but I think it means the same thing. ;)

 

Now you want to make it vertical.

 

Is it possible you may want your main list horizontal, but the sub items vertical under them?

Posted (edited)

Dear Thelma

 

my menu looks like stairs, which i do not want.

first of all i want the submenu hidden by default, and should apear on mouse over.

 

when i solved this problem, then i will learn how to make it horizantal.

(i also want to learn the ocde for vertical, but later)

 

 

Thanks

Edited by fazlionline
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...