A quick and easy way to insert a dividing line into a website is with a horizontal rule, the hr tag.
This horizontal rule
was created by the following inline CSS:
It could also be styled in your internal or external stylesheet (which is usually the better approach):
Note that color AND background-color are applied. This is necessary,
as some browsers use the background-color, others (IE) the color
element to apply color to the rule.
was created by the following inline CSS:
<hr style="color: #f00; background: #f00; width: 75%; height: 5px;">
hr { color: #f00; background: #f00; width: 75%; height: 5px; }
0 comments:
Post a Comment