]> git.deb.at Git - deb/hackedgotchi.git/commitdiff
add common classes for block element alignment
authormadduck <madduck@c2f067bf-98e0-425f-9c98-e76020cfa380>
Thu, 21 May 2009 07:49:01 +0000 (07:49 +0000)
committermadduck <madduck@c2f067bf-98e0-425f-9c98-e76020cfa380>
Thu, 21 May 2009 07:49:01 +0000 (07:49 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1124 c2f067bf-98e0-425f-9c98-e76020cfa380

www/common/boxless.css

index 69b1919db85fbf020ed369961387f6c05853a82a..304b3498862103b6494c7e848807b8f58a6de241 100644 (file)
@@ -207,3 +207,26 @@ a:hover {
 span.ljuser img {
        border: 0px;
 }
+
+/* Suggested by martin f. krafft */
+.center, .centre {
+       text-align: center;
+}
+
+.float-left, .floatleft {
+       float: left;
+       margin-right: 1em;
+}
+
+.float-right, .floatright {
+       float: right;
+       margin-left: 1em;
+}
+
+img[align=left] {
+       margin-right: 1em;
+}
+
+img[align=right] {
+       margin-left: 1em;
+}