Discussion:
DD_roundies
Erik
2010-02-05 00:12:23 UTC
Permalink
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');
brian
2010-02-07 19:37:52 UTC
Permalink
Anchors are inline elements. Try giving it display: block (or inline-block).
Post by Erik
Hello everyone...
I'm using DD_roundies for IE round corners and it works great.  BUT, I
<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');
Loading...