Click to See Complete Forum and Search --> : HR spacing [resolved]
filburt1
Dec 21st, 2001, 10:06 PM
How can I change the number of pixels above and below the line in an <hr> tag?
ubunreal69
Dec 23rd, 2001, 06:47 PM
I am most likely wrong, but I dont think its possible, I can get the left & right spacing working fine though :D
(HR{Margin-right: 100px})
the only thing I can suggest is putting in an empty table cell and set the height :p but i'm assuming u'v already thought of that.
ME!
sail3005
Dec 23rd, 2001, 11:44 PM
you can fake a <hr> by using a <div>
.hr {
border-bottom: 1px solid #f0f0f0;
border-top: 1px solid #808080;
margin: 3px 5px 3px 5px;
}
filburt1
Dec 24th, 2001, 09:06 AM
Cool, the .hr class in the stylesheet worked. :)
sail3005
Dec 24th, 2001, 09:39 AM
Yeah, regular <hr>'s suck :p
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.