Jump to content

css positioning


monty 187

Recommended Posts

Hi Guys,Im sure some1 has done this before so here goes, i am trying to create a dropdown menu from a menu on my page. I am going to do this by setting the display option when a mouse is moved over the menu option. I am currently trying to position the menu below the drop menu on the page. my problem is when i resize the browser window the position of the drop menu changes. Here is the code i use to position it,

#dropmenu{	position:absolute;	left:700px;	top:40px;}

Thanks a million guyz!!

Link to comment
Share on other sites

Also guys is it possible to have the menu set to <display:none> and then have it appear when hovered over? If i can get this going maybe i can alter it to appear when another element has been hovered over, ie hovering over one menu element makes the other element appear.

Link to comment
Share on other sites

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...