Style Object
The emptyCells property sets or returns whether to show the border and background of empty cells, or not.
Set the emptyCells property:
Return the emptyCells property:
| Value | Description |
|---|---|
| show | Border and background are shown in empty cells |
| hide | Border and background are hidden in empty cells |
| inherit | The value of the emptyCells property is inherited from parent element |
![]()
The emptyCells property is supported in all major browsers.
Note: The default value is different in different browsers. In IE, Chrome and Safari, the default value is "show", while in Firefox and Opera the default value is "hide".
Note: The emptyCells property does not work in IE prior version 8. IE8 supports the emptyCells property only if a !DOCTYPE is specified.
Change how empty cells are shown:
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 |
|---|