DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:displaying-blank-rows-in-tables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:displaying-blank-rows-in-tables [2009-03-31 19:14] 70.103.232.219tips:displaying-blank-rows-in-tables [2016-11-13 15:39] (current) – [Table] 91.248.92.195
Line 1: Line 1:
 +====== 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-cells''" CSS 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   |
 +| \\                                     ||||
 +| field1   | field2   | field3   | field4   |
 +
 +
  

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