Reply
Crazy A Href + Images CSS:hover problem
Old 04-06-2007, 02:44 PM Crazy A Href + Images CSS:hover problem
carterdea's Avatar
Ultra Talker

Posts: 304
Location: az
Hi there, I am having some trouble with my site's linked images. When you hover, a white thing comes on the bottom.

I set it up to change background color on :hover for all of my links, but now I just want it off of my images. I tried tons of CSS selectors and couldn't find one that worked.

Here's my site:
http://www.carterdea.com/portfolio
__________________
Carterdea.com
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
When You Register, These Ads Go Away!
Old 04-06-2007, 03:21 PM Re: Crazy A Href + Images CSS:hover problem
LadynRed's Avatar
Super Moderator

Posts: 6,553
Location: Tennessee
It's your a:hover that's doing it. I changed it to this:
a:hover{
padding:3px 1px;
margin:0 -1px;
color:#000;
background:transparent;

}
No more white box popping out. If you want hovered menus to have a white background, use specificity to target ONLY those links.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Crazy A Href + Images CSS:hover problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11138 seconds with 12 queries