css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS BORDER-LEFT

This is a shorthand property which allows an author to specify the border-width, border-style, and border-color for the left border of an element. If no color is specified, the value will be taken from the ‘color’ property.

 

Example

div.out { border-left: 10px outset #ffffff }

<div style=”border-left: 10px outset #ffffff”>this is a test</div>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
[border-width] Uses a [border-width] value to render the left border for an element.
[border-style] Uses a [border-style] value to render the left border for an element.
[border-color] Uses a [border-color] value to render the left border for an element.

 

One Response

  1. remko says:

    Hi,

    I am new to css writing, have html knowledge and
    your site is very helpful. What I have not been able to do is: I have a css template and want to add a vertical 160×600 javascript ad right beside the dotted border, kinda like in a table. I have not figured that out yet. Can you give me a hint please. The ad is now outside the table on the bottom left. Thanks for any ideas, Remko

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2189 access attempts in the last 7 days.