Click to See Complete Forum and Search --> : Creating a CSS box link


bp_travis
01-11-2007, 04:01 PM
Hello. How do you make an entire DIV box a link. I have a product image with a caption in a CSS box. I want the box color to change color when a user mouses over the box. How do I make the entire box a link? Thanks.

bathurst_guy
01-11-2007, 04:38 PM
http://www.webdeveloper.com/forum/showthread.php?p=687912

bp_travis
01-12-2007, 02:53 PM
Hello. That works great except that the box that the link is has padding and when you hover over it doesn't fill the entire box and doesn't fill the padding part of the box it is in. Any thoughts? Thanks.

bathurst_guy
01-16-2007, 04:14 AM
Hmm. Remove the padding.