I want to change the thickness of my horizontal rule ()in CSS. I know it can be done in HTML like so -
For consistency remove any borders and use the height for the thickness. Adding a background color will style your with the height and color specified.
In your stylesheet:
hr {
border: none;
height: 1px;
/* Set the hr color */
color: #333; /* old IE */
background-color: #333; /* Modern Browsers */
}
Or inline as you have it:
Longer explanation here