r7357 - trunk/BOOK/stylesheets

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Feb 6 12:39:20 PST 2006


Author: manuel
Date: 2006-02-06 13:39:20 -0700 (Mon, 06 Feb 2006)
New Revision: 7357

Modified:
   trunk/BOOK/stylesheets/lfs.css
Log:
Added CSS code for tables.

Modified: trunk/BOOK/stylesheets/lfs.css
===================================================================
--- trunk/BOOK/stylesheets/lfs.css	2006-02-06 20:38:22 UTC (rev 7356)
+++ trunk/BOOK/stylesheets/lfs.css	2006-02-06 20:39:20 UTC (rev 7357)
@@ -255,6 +255,22 @@
   margin-left: 1em;
 }
 
+/*table */
+
+div.table {
+  text-align: center;
+}
+
+div.table table {
+  margin-left: auto;
+  margin-right: auto;
+  text-align: center;
+}
+
+div.table table th, div.table table td {
+  padding: 0.2em 2em 0.2em 2em;
+}
+
 /* Indented blocks */
 p, ul, dl, code, blockquote {
   padding-left: 1em;




More information about the lfs-book mailing list