The border-width property is used to set the width of the border. The width is set in pixels, or by using one of the three pre-defined values. Thin, medium, or thick. The border-width property does not work if it is used alone. Use the border-style property to set the borders first.
Example:
p.one
{
border-style:solid;
border-width:5px;
}
p.two
{
border-style:solid;
border-width:medium;
}
No comments:
Post a Comment