Hi,
I’m trying to use the text-indent method for image replacement but am having trouble in Opera ignoring the float. Have a look…
<div id="heading"><h2 title="A-C">A-C</h2></div>
#heading h2 {
text-indent: -9000px;
width: 175px; height: 35px;
margin: 0; padding: 0;
background: url(/a-c.gif) no-repeat top left;
}
I’ve been able to hack the image in Opera to the position I want it to go by adding a margin-left style to the #heading id, but i was wondering if there is a better workaround than that.