Anchors are inline elements. Try giving it display: block (or inline-block).

On Thu, Feb 4, 2010 at 7:12 PM, Erik <eriks...@mac.com> wrote:
> Hello everyone...
>
> I'm using DD_roundies for IE round corners and it works great.  BUT, I
> can"t seen to figure out how to make the following work:
>
> <a class="a2" href="test.htm"></a>
>
> .a2 {width: 100px; height: 100px; background-image: src="/img/a2.png"
> no repeat; float:left; border:1px; border-color:#000;}
>
> .a2:hover {background-position: -100px;}
>
> DD_roundies.addRule('.a2',  6px');
>

Reply via email to