web/data/cubicweb.css
branchstable
changeset 8420 a4338d00202d
parent 8334 20e38436395f
child 8422 15fe07ff6872
--- a/web/data/cubicweb.css	Mon Dec 05 14:33:26 2011 +0100
+++ b/web/data/cubicweb.css	Wed May 23 11:41:27 2012 +0200
@@ -116,6 +116,7 @@
 
 img {
   border: none;
+  display: block;
 }
 
 
@@ -220,9 +221,6 @@
     font-style: italic;
 }
 
-.align-center{
-    text-align: center;
-}
 
 /***************************************/
 /*   LAYOUT                            */
@@ -984,11 +982,17 @@
 /********************************/
 
 img.align-right {
-  margin-left: 1.5em;
+  margin-left: auto;
 }
 
 img.align-left {
-  margin-right: 1.5em;
+  margin-right: auto;
+}
+
+img.align-center{
+  text-align: center;
+  margin-left: auto;
+  margin-right: auto;
 }
 
 /******************************/