I created a rollover button with this code:
HTML (under the ‘body’ tag in the header)
<div id="twitter" onclick="location.href='http://twitter.com/#!/FFWD_AND_RWD';" style="cursor:pointer""></div>
CSS (in my child theme)
#twitter {
background:url(http://www.fastforwardandrewind.com/buttons/twitter.gif);
width:70px;
height:70px;
position:fixed;right:100px; top:150px;
}
#twitter:hover {
background:url(http://www.fastforwardandrewind.com/buttons/twitter.gif);
width:70px;
height:70px;
background-position:0 -70px;
}
It doesn’t work. The weirdest part is, that this works locally (I run a copy of my site with ‘Xampp’ for testing purposes)
Does anybody know what could be going wrong?