Forum Moderators: not2easy
html:
<a href="#" class="rollovers"><img src="foo"></a>
css:
a.rollovers:link {
margin-right:0px;
}
a.rollovers:hover {
margin-right:12px;
}
so you get an indented image on rollover. lovely. and no messy javascript.
just wondering, as i have never knowingly seen this before, is there any reason not to do this? compatibility or bugs or anything?
cheers