Link to home
Create AccountLog in
Avatar of thatelvis
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
ASKER CERTIFIED SOLUTION
Avatar of GrandSchtroumpf
GrandSchtroumpf

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of thatelvis
thatelvis

ASKER

thanks I got there in the end. i had tried everything poss with the hr. any way a is well now.

cheers

Kenny