|
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
|
#1 |
|
wtfwjd?
Join Date: May 2007
Posts: 2,103
|
I think I have seen this, but I can't figure out how to do it (assuming it's possible).
I want to make a div change backgrounds using 'hover'. I can make the linked text within the div do it, but I want the entire div to change. Can that be done? |
|
|
|
|
|
#2 |
|
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
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>
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
|
|
|
|
|
#3 | |
|
wtfwjd?
Join Date: May 2007
Posts: 2,103
|
Quote:
) |
|
|
|
|
![]() |
|
|