...

View Full Version : CSS Image Hover Effect Problem



jihanemo
08-23-2010, 04:42 AM
I'm using a image mouse over effect using the CSS hover method which reveals half of the background image on hover method.

The buttons are in my header navigation bar in a list. Buttons should be inline but buttons are not showing up anyway. Page is here (http://www.creativemilldesigns.com/turmoilsecondblank.html).

abduraooft
08-23-2010, 10:57 AM
anchor is an inline element, so you can't set height pr width to it by default. Set display:block; (or float:left; ) to #header li a to change their display behaviour.

jihanemo
08-23-2010, 07:33 PM
"display:inline" is currently set on the lists, not the anchor.

What do I do?

abduraooft
08-24-2010, 08:43 AM
#header li a{
...........
display:block;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum