Thread: CSS question
View Single Post
Old 2011-02-09, 01:57 PM   #3
LD
wtfwjd?
 
LD's Avatar
 
Join Date: May 2007
Posts: 2,103
Quote:
Originally Posted by cd34 View Post
Code:
<style>
.hoverme { background: #ccc; width: 300px; height: 100px;}
.hoverme:hover { background: #f33; }
</style>
<div class="hoverme">test
test
<a href="http://google.com/">Google</a>
test
</div>
It is the same as doing an <a> tag, you just apply the hover styling to the block you want.
YES perfect. (I was very close )
__________________
Artisteer Wordpress Theme Generator Create Custom Themes!
My Little Network
LD is offline   Reply With Quote