From: madduck Date: Thu, 21 May 2009 07:49:01 +0000 (+0000) Subject: add common classes for block element alignment X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=9455eabf01101aa27c26cbd22203d97058479249;p=deb%2Fhackedgotchi.git add common classes for block element alignment git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1124 c2f067bf-98e0-425f-9c98-e76020cfa380 --- diff --git a/www/common/boxless.css b/www/common/boxless.css index 69b1919..304b349 100644 --- a/www/common/boxless.css +++ b/www/common/boxless.css @@ -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; +}