Help!, Rollover Code Help |
![]() ![]() |
Help!, Rollover Code Help |
Jul 26 2009, 07:23 PM
Post
#26
|
|
![]() Member ![]() ![]() Group: Official Designer Posts: 10 Joined: Oct 2008 Member No: 692,614 |
or you could always add positioning elements to the link itself, this really cleans up your code
CODE <style type="text/css"> div, table, tr, td, tbody {background-color:white;} a.home{ display: block; height: 50px; width: 116px; overflow: hidden; background-image: url("http://img24.imageshack.us/img24/2995/homexzf.png"); background-position: center; background-repeat: no-repeat; position:absolute; top: #px; left: #px; } a.home:hover{ background-image: url("http://img24.imageshack.us/img24/9471/home2w.png"); background-position: center; background-repeat: no-repeat; } </style> <a href="http://www.google.com/" class="home"></a> |
|
|
|
![]() ![]() |