DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:displaying-blank-rows-in-tables

This is an old revision of the document!


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:

^Header1^Header2^Header3^Header4^
|field1 | field2 |field3 |field4|
| \\ ||||
|field1 | field2 |field3 |field4|
The resulting Table
Header1 Header2 Header3 Header4
field1 field2 field3 field4
abc
field1 field2 field3 field4
tips/displaying-blank-rows-in-tables.1455969821.txt.gz · Last modified: 2016-02-20 13:03 by 59.90.41.206

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