Style HR Tag With CSS

There are pages which have a few hr tags thrown here and there. If the page is designed nicely, the hr tags look ugly, if not styled properly. To make them look fine use the following CSS properties.

1. border:none;                                         – Will remove the border
2. background-color:#000000;       – Add color as required
3. height:1px;                                             – Adjust the height as required

The above properties will create a fine black line. Adjust the settings to get exactly what you need.

Leave a comment

Your email address will not be published. Required fields are marked *