I\'m trying to make a div\'s background color change on mouse over.
the div {background:white;} the div a:hover{background:grey
To make the whole div act as a link, set the anchor tag as:
display: block
And set your height of the anchor tag to 100%. Then set a fixed height to your div tag. Then style your anchor tag like usual.
For example:
DIV Link Stack Overflow Stack Overflow
Good luck!