~ table display
authortgambet
Fri, 20 Jul 2012 14:41:31 +0200
changeset 736 8eb8f63c73e9
parent 735 e2eb3a1160d9
child 737 f99d6f86a22e
~ table display
node.js/public/css/style_.css
--- a/node.js/public/css/style_.css	Fri Jul 20 14:36:55 2012 +0200
+++ b/node.js/public/css/style_.css	Fri Jul 20 14:41:31 2012 +0200
@@ -43,6 +43,21 @@
 .mainList {
 	list-style-type: none;
 	margin: 0 0 5px;
+	display: table;
+	width: 100%;
+	border-collapse: collapse;
+}
+.mainList li {
+	margin: 0;
+	padding: 5px 0;
+	border-top: 1px solid lightgrey;
+	min-height: 48px;
+	display:table-row;
+}
+.mainList li > div {
+	display: table-cell;
+	vertical-align: middle;
+	height: 58px;
 }
 .mainList li a:first-child:hover {
 	text-decoration: none;
@@ -54,12 +69,7 @@
 	margin: 5px 0;
 	float: left;
 }
-.mainList li {
-	margin: 0;
-	padding: 5px 0;
-	border-top: 1px solid lightgrey;
-	min-height: 48px;
-}
+
 
 .mainList li:first-child {
 	border-top: 1px solid lightgrey;