3

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:

They put a border around my border so I can have an arrow in my arrow

And here is the same arrow in FF on OS X:

No extra border

I could always change the color of the arrow to the same color as the extra border but that doesn't feel right.

Nicklas A.
  • 6,501
  • 7
  • 40
  • 65

3 Answers3

2

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/

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Shawn Taylor
  • 3,974
  • 4
  • 17
  • 23
0

Try this:

div {
    border: 30px solid transparent;
    border-left-color: #EEE;
    -moz-border-left-colors: none;
}
Stelian Matei
  • 11,553
  • 2
  • 25
  • 29
0

Give rgba() instead of transparent for transparency.For more check my this answer

CSS Transparent Border Problem In Firefox 4?

Community
  • 1
  • 1
sandeep
  • 91,313
  • 23
  • 137
  • 155