Ok, so I've been trying my best to correctly code what seemed to be EXTREMELY simple, but I can't get it to work! Below is the code I'm using and a link to a test page I've been trying it with.
CSS Code:
HTML Code:Code:.rollover{ height:22px; width:109px; background-image:url('Button.jpg'); } .rollover a:link{ background-image:url('Button.jpg'); height:22px; width:109px; } .rollover a:hover{ background-image:url('Button.jpg'); height:22px; width:109px; background-position:-109px 0; } .rollover a:active{ background-image:url('Button.jpg'); height:22px; width:109px; background-position:-109px 0; } .rollover a:visited{ background-image:url('Button.jpg'); height:22px; width:109px; background-position:-109px 0; }
http://www.mrsjonesandme.com/Test.htmlCode:<a href="#" class="rollover"> </a>



Reply With Quote

Bookmarks