It's better when it's simple

User Tools

Site Tools


TABLES: displaying blank rows

Sometimes its handy to be able to space data out in a table with a blank row. Currently DokuWiki outputs HTML for the blank row, however some browsers may not display the row as it has no non-whitespace content.

Since this is a matter of presentation (but not markup) the CSS should be adjusted accordingly: The “empty-cellsCSS keyword is supposed to be used to show/hide those cells.

Or as a “hack”, you could also try this in the table itself:

|field1 | field2 |field3 |field4|
| \\ ||||
|field1 | field2 |field3 |field4|
The resulting Table
Header1 Header2 Header3 Header4
field1 field2 field3 field4

field1 field2 field3 field4
tips/displaying-blank-rows-in-tables.txt · Last modified: 2016-11-13 15:39 by

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki