Reese
2007-03-05 13:31:29 UTC
I'm trying to create a divider using only a div and a class. The visual
effect should be two horizontal lines. One would be 2px thick of one color,
the other only 1px of another.
Seems simple enough :
.stoneDiv, {
margin: 0px;
padding: 0px;
border-top-width: 2px;
border-top-style: solid;
border-top-color: #22170D;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #807368;
}
<div class="stoneDiv"></div>
This works on IE, but not on FF. Anyone have a clue why? FF acts like the
DIV isn't there.
effect should be two horizontal lines. One would be 2px thick of one color,
the other only 1px of another.
Seems simple enough :
.stoneDiv, {
margin: 0px;
padding: 0px;
border-top-width: 2px;
border-top-style: solid;
border-top-color: #22170D;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #807368;
}
<div class="stoneDiv"></div>
This works on IE, but not on FF. Anyone have a clue why? FF acts like the
DIV isn't there.