It's better when it's simple

User Tools

Site Tools


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:

|field1 | field2 |field3 |field4|
| \\ ||||
|field1 | field2 |field3 |field4|
The resulting Table
Header1 Header3 Header4
askldjaskldjcassdjfpasdojfaposdo90234823058737585u23897uqewjfkladhjfc890487502948513hjf09aufjajf890238t58902309-4802139ualdskjflak;zjfl;akifoiadufpaooufdas809f88243-58923-0952389527ndkfjhf field3 field4

field1 field3 field4
tips/displaying-blank-rows-in-tables.1478000759.txt.gz · Last modified: 2016-11-01 12:45 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