thatelvis
asked on
hr top margins difference ie and firefox
Hello,
I am using an HR tag, (horozontal rule) I am using the following css too
.myruler {
width: 100%; background-color:#CC0033;
color:#000000;
height: 1px;
border: none;
margin-top: -4px; padding: 0px;
}
what can I do to maintain the same hr top margin with both ff and ie. I want my hr to be directly under my text at 100% ,
<div style="margin-left:12px; margin-right: 12px;"> Welcome!
<hr class="myruler"></hr>
</div>
regards
kenny
I am using an HR tag, (horozontal rule) I am using the following css too
.myruler {
width: 100%; background-color:#CC0033;
color:#000000;
height: 1px;
border: none;
margin-top: -4px; padding: 0px;
}
what can I do to maintain the same hr top margin with both ff and ie. I want my hr to be directly under my text at 100% ,
<div style="margin-left:12px; margin-right: 12px;"> Welcome!
<hr class="myruler"></hr>
</div>
regards
kenny
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
cheers
Kenny