horizontal bar in html

I found it surprisingly hard to find the darn code for a html horizontal bar, each site I visited had horizontal images to copy and paste.

To insert a plain horizontal bar use <hr />

In my CSS I included this code:

hr
{
margin-left:auto;
margin-right:auto;
border:none;
width:80%;
height:3px;
color:#FEC100;
background-color:#FEC100;
}

This gave the colored bar that can be found on my Assignments page.

Advertisements

~ by gonetolunch on February 28, 2011.

 
%d bloggers like this: