Specify that a div box is allowed to expand to multiple lines:
![]()
The box-lines property is not supported in any of the major browsers.
The box-lines property specifies whether columns will go onto a new line whenever it runs out of space in the parent box.
Tip: By default, a horizontal box will lay out its children in a single row, and a vertical box will lay out its children in a single column.
| Default value: | single |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.boxLines="multiple" |
| Value | Description |
|---|---|
| single | All child elements will be placed in a single row or column (elements that do not fit will simply be considered overflow) |
| multiple | The box is allowed to expand to multiple lines, to accommodate all of its children |
Complete CSS Reference
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $3.98 Unlimited Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Best Website Templates Top CSS Templates |
| CREATE HTML Websites |
| EASY WEBSITE BUILDER |
| 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 |
|---|