Saturday 12 November 2011

How to create custom Horizontal rules with css

To create style a horizontal rule in CSS use this tags for your web site.
***************************
hr {
  border: 0;
  width: 80%;
}
***************************
hr.line {color:#904239; text-align:center; background-color:#904239; border:0px; height:1px;}
***************************

hr {border: none 0; 
border-top: 1px dashed #000;/*the border*/
width: 50%;
height: 1px;
}
***************************
HR { size: 5px; width: 80%; length: 5px; height: 5px;
> border-style:padding: 0}
***************************


No comments:

Post a Comment