Style Object
The borderLeft property sets or returns up to three separate border-left properties, in a shorthand form.
With this property, you can set/return:
Set the borderLeft property:
Return the borderLeft property:
Tip: There is no default value for the borderLeft property.
| Parameter | Description |
|---|---|
| width | Sets the width of the left border |
| style | Sets the style of the left border |
| color | Sets the color of the left border |
![]()
The borderLeft property is supported in all major browsers.
Change the width, style, and color of the left border:
Style Object
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|