Customised templates: Difference between revisions

m
</pre>
 
Cumulus standard web pages use "<td>"...</td> tag pair for table cells containing labels, but you could use "<th>" as shown in thisabove example, andthe couldadvantage of that is you can add a reference to that tag in the CSS to change the look of label cells. See [[Stylesheets|styling page]] for more information.
 
Since on this web page there are two pairs of table cells per row, if you really want to add ''just one pair'' in a row, then you need to also add ''an empty pair of cells'' to keep the same count of cells in every row:
</tr>
</pre>
Again, you can change the look of such empty cells, by a modification to the CSS (''empty-cells: hide;''), otherwise they will have same background colour as other cells in that row.
 
Similarly you can add any other observations, remember you need to add another 'tr' start tag with the appropriate class attribute value, then 4 table cells, and don't forget any of the end tags (it may seem to work without end tags, but that forces the browser at display time to decide for itself where to end each cell, potentially confusing the structure).
 
== Adding/removing Solar table cells for main page and trend graphs ==
5,838

edits