Schalk wrote:
> Greetings All
> 
> Please have a look at the following site: http://elpasoreading.us/joomla/
> 
> For some reason the :hover state does not fill the entire area, in 
> Firefox, have not checked in IE. Can someone see why not? What am I 
> missing here? Thank you in advance.
> 

You are padding the container that holds the links. Remove the padding on
ul#nav.pde_nav li{
        margin:0;
        /*padding-top:5px;
        padding-right:5px;*/
        border-bottom:1px solid #fff;
        border-right:1px solid #fff;
        height:20px;
        text-align:right;               
        list-style-type:none;   
}

and apply padding to the link rules instead, putting this before the 
other rules for these links:

ul.pde_nav a {  
        padding:5px 5px 0 0;    
}

BTW, I don't believe negative padding works, so comment this out:

/*ul.pde_nav a:visited:hover, ul.pde_nav a:hover {      
        background-color:#0cf;
        padding-top:-5px;
        text-decoration:none;
        color:#fff;
        display:block;  
}*/

There are other issues with right and left padding in IE browsers, but 
that's another problem - you could use just top and bottom paddding on 
the links and put one or two <gasp /> non-breaking spaces to the right 
of the link text, since you don't display an underlining text-decoration 
OR use IE conditionals to adjust the width to padding ratio of the navs 
as opposed to what works in standards browsers.

I am sure someone will have more of an explanation, but that's what it 
looks like to me.

Donna


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to