[Gd-chatter] r11416 - in trunk/www/books/drm: . styles

cpage at gwydiondylan.org cpage at gwydiondylan.org
Thu Jun 21 21:13:41 CEST 2007


Author: cpage
Date: Thu Jun 21 21:13:39 2007
New Revision: 11416

Modified:
   trunk/www/books/drm/Equality_and_Comparison.html
   trunk/www/books/drm/styles/common.css
Log:
Job: website

Added CSS styling to format the definition list (DL element) in the DRM's
Equality and Comparison section as it appears in the printed DRM (with terms and
definitions side-by-side).



Modified: trunk/www/books/drm/Equality_and_Comparison.html
==============================================================================
--- trunk/www/books/drm/Equality_and_Comparison.html	(original)
+++ trunk/www/books/drm/Equality_and_Comparison.html	Thu Jun 21 21:13:39 2007
@@ -186,7 +186,7 @@
 	programs can extend the behavior of the other functions.</p>
       <p>For the protocol to work, user-defined methods on <code>=</code> and <code>&lt;</code> must
 	preserve the following properties:</p>
-      <dl>
+      <dl class="horizontal">
 	<dt><a name="IX-1571">Identity:</a></dt>
 	<dd><p>If (a <code>=</code> b), then (b <code>=</code> a).</p></dd>
 	<dt><a name="IX-1572">Transitivity:</a></dt>

Modified: trunk/www/books/drm/styles/common.css
==============================================================================
--- trunk/www/books/drm/styles/common.css	(original)
+++ trunk/www/books/drm/styles/common.css	Thu Jun 21 21:13:39 2007
@@ -542,6 +542,19 @@
 
 
 /*
+  Definition Lists
+
+  Terms and definitions are positioned side-by-side. Paragraphs within have less
+  vertical separation.
+*/
+
+dl.horizontal > dt     { float: left        }
+dl.horizontal > dd     { margin-left: 7em   }
+dl.horizontal > dd > p { margin: 0.5em auto }
+
+
+
+/*
   Definitions
 
   Definition labels (e.g., "Signature:") are bold and set off in the left



More information about the chatter mailing list