What is the CSS for thickness of the HR ellement. I keep getting a javaconsole error(Firefox) with size, and height. I'd like to set it to 5 pixels and I've tried these with 5px but I get an error in the java console. I'd know I can set it with HTML (Size=5) but I'd like to change the whole site. Is this the correct approach?
limbo
3:56 pm on Jun 22, 2006 (gmt 0)
I'd use padding¦border¦margin on the block element you require the HR to follow instead of the <hr> tag. CSS supppoort for HR is sketchy at best.
HeadBut
4:03 pm on Jun 22, 2006 (gmt 0)
so: { border-width: 5 px;} should work?
choster
6:28 pm on Jun 22, 2006 (gmt 0)
Setting margin-width to 5px will create a 5px border on all four sides, and I believe you still need to specify height. Try
If the horizontal rule is presentational, then you are often better-off adding a bottom border to the preceding block element (or a top border to the following element) and doing away with the