Wednesday, October 15, 2008

css :Custom Horizontal Rules

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}
***************************



***********************

4 comments:

Sandeep said...

Arun i found your blog very soothing and the CSS that you posted has really been helpfull.. Hope to get more info next time.. keep posting in.. good to have designers like u around..
for my blog : http://all-s-tech.blogspot.com/
-S@ndy

Rajnish said...

Hi This is cool stuff for web design. I am from arizona.

Rajnish Parihar
http://website-development-arizona.blogspot.com/

Creativeinfoteck said...

thanks

Sandhya said...

Very useful. thanks for sharing it.