Link a div w/ rollover
Link a div w/ rollover
- Started
- Last post
- 4 Responses
- injoy
I'm trying to make a div linkable without using Javascript.
I want the background color of the div to change color on mouseover.
Can anyone help?
- acescence0
you can use the :hover pseudoclass, but it won't work in IE7 or back, js is the only reliable way in all browsers
- imnotaplumber0
Found this today:
- airey0
just make the link a block and fill the div - or be the div.
http://archivist.incutio.com/vie…
http://www.askthecssguy.com/2007…
etc