[Dart-dev] DART/branches Revision: 11334

dart at ucar.edu dart at ucar.edu
Wed Mar 15 11:41:49 MDT 2017


raeder at ucar.edu
2017-03-15 11:41:49 -0600 (Wed, 15 Mar 2017)
439
Fixed (reduced) the vertical spacing in a table in 
models/CESM/doc/setup_guidelines.html
which shows directory heirarchies and has spaces to denote subdirectories.
The mechanism involves an adding a class to doc.css;

.keepspace tr, .keepspace td { white-space: pre; }

then using that class in the table in setup_guidelines.html;

<div class="keepspace" >
<table 
...
</table
</div>

This doesn't appear to interfere with other tables.




Modified: DART/branches/rma_trunk/documentation/html/doc.css
===================================================================
--- DART/branches/rma_trunk/documentation/html/doc.css	2017-03-15 17:35:19 UTC (rev 11333)
+++ DART/branches/rma_trunk/documentation/html/doc.css	2017-03-15 17:41:49 UTC (rev 11334)
@@ -1,11 +1,6 @@
-/*
- * DART software - Copyright UCAR. This open source software is provided
- * by UCAR, "as is", without charge, subject to all terms of use at
- * http://www.image.ucar.edu/DAReS/DART/DART_download
- *
- * DART $Id$
- */
 
+/* $Id$ */
+
 body{background:white;
       margin-left :5%;
       margin-right:5%;
@@ -55,6 +50,10 @@
     margin-left: 4%;
     width: 92%;}
 
+/* KDR added for CESM/doc/setup_guidelines.html to preserve blanks in table cells 
+    Too broad; applies to all tables and breaks the dartboard table;  tr, td { white-space: pre;}*/
+.keepspace tr, .keepspace td { white-space: pre; }
+
 table.indent1 {
     border: 0;
     border-width: thin;
@@ -282,8 +281,3 @@
 }
 
 /* # RGB(204,204,204) == "#CCCCCC" */
-
-/* <next few lines under version control, do not edit> */
-/* $URL$ */
-/* $Revision$ */
-/* $Date$ */


More information about the Dart-dev mailing list