1

I'm trying to make an image-less icon for a drop down menu using CSS triangles that point up and down. Code looks like this: http://jsfiddle.net/FGrR2/6/

.d, .u {
  float: left;
  clear: left;
  width: 0px;
  height: 0px;
  border-style: solid;
  margin-bottom: 5px;
}
.d {
  border-width: 5px 5px 0 5px;
  border-color: #007bff transparent transparent transparent;
}
.u {   
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #007bff transparent;
}

However, if I load the page in Firefox 17.0.1, the edges of the triangles don't line up. Here's a zoomed version of how that looks: https://i.stack.imgur.com/LzTrN.jpg It's like the 2nd triangle is "aligned" to the right or something.

Has anyone else encountered this?

fien
  • 13
  • 5

0 Answers0