Menu on image

User4Fun

New Member
What is wrong with this?
It is a navigation bar made of an image, I ma trying to ahve a drop down menu when the mouse is over the image

Code:
ul.menu_items li a.home {background-position:-50px 0;margin-left:50px;width:105px;}

/*.homelist is the class of the list under the main navigation .menu_items

ul.menu_items li ul.homelist li
{
margin: 0;
padding: 1px 1px 0;
height: 75px;
width: 150px:
position: absolute;
top: 21px;
left: -40 px;
}
 

webdevpro

New Member
Without seeing the HTML markup it's hard to say what's wrong just looking at two CSS selectors. Please provide the URL of the web page where the menu is placed.
 

bcee

New Member
As above poster said we need the markup as well.

From the first look it appears you have an open comment starting on line 3. That would not only render the remaining CSS useless but most likely the HTML underneath.

/* This is a CSS comment */
 
Top