Revision: 6449
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6449&view=rev
Author: vargenau
Date: 2009-01-24 11:47:30 +0000 (Sat, 24 Jan 2009)
Log Message:
-----------
boxed and bordered tables
Modified Paths:
--------------
trunk/themes/shamino_com/shamino_com.css
Modified: trunk/themes/shamino_com/shamino_com.css
===================================================================
--- trunk/themes/shamino_com/shamino_com.css 2009-01-24 11:46:05 UTC (rev 6448)
+++ trunk/themes/shamino_com/shamino_com.css 2009-01-24 11:47:30 UTC (rev 6449)
@@ -158,3 +158,44 @@
background: yellow;
font-weight: normal;
}
+
+/*
+ * table class="boxed"
+ * will put a border around the table (but not around the cells)
+ *
+ * table class="bordered"
+ * will put a border around the table and the cells
+ *
+ * In both cases, the caption will be bold and centered under the table
+ *
+ * In both cases, the headers (th) will have a "#d8d8d8" background
+ */
+
+table.boxed, table.bordered, table.bordered th, table.bordered td {
+ border-width: 1px;
+ border-style: solid;
+ border-collapse: collapse;
+ vertical-align: top;
+}
+
+table.boxed td, table.bordered td,
+table.boxed th, table.bordered th {
+ padding-left: 5px;
+ padding-right: 5px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
+table.boxed caption, table.bordered caption {
+ text-align: center;
+ font-weight: bold;
+ caption-side: bottom;
+ padding-top: 0.8em;
+}
+
+table.boxed th,
+table.bordered th,
+ font-weight: bold;
+ background-color: #d8d8d8;
+}
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|