Reputation: 7061
I'm trying to create arrows using borders but FF10 on win7 doesn't want to play ball.
It adds a 1px border around my border.
Here is a JSFiddle with a minimal example: http://jsfiddle.net/5jjVb/1/
It doesn't matter what color the border I set has, the extra border is always the same color.
For those of you not on FF or on window 7 here is a screenshot:
And here is the same arrow in FF on OS X:
I could always change the color of the arrow to the same color as the extra border but that doesn't feel right.
Upvotes: 3
Views: 560
Reputation: 3969
It's a bug. https://bugzilla.mozilla.org/show_bug.cgi?id=646053
And here is workout to tackle this issue. http://jsfiddle.net/5jjVb/3/
Upvotes: 2
Reputation: 92793
Give rgba()
instead of transparent
for transparency.For more check my this answer
CSS Transparent Border Problem In Firefox 4?
Upvotes: 0
Reputation: 11623
Try this:
div {
border: 30px solid transparent;
border-left-color: #EEE;
-moz-border-left-colors: none;
}
Upvotes: 0