| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
|
Space above and below <hr>
How do you change it? I'm trying SO hard and googling and everything, but it's eluding me - I don't honestly believe the only way to love the line break above and below is to 'cheat' and put it in the <p> </p> tags... Anyone shed any light? |
|
|
|
|
|
#3 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,235
|
I had trouble with this the other day only I was trying to hide the hr without it still taking up space, if that makes sense. No matter what I did I couldn't get rid of the margin above it and had to wrap it in a block level element. Something along the lines of (and I can't believe it came to this): Code:
Only to be used when you desperately need to have a hr in the unstyled version + the design won't accomodate the space above the hr in IE. That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
![]() |