diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-01-05 15:23:22 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-01-06 21:02:09 +0100 |
commit | 4bda18a50aab714e72fce347cb4cff32316e55de (patch) | |
tree | b0c2f60054263d1bb2e011f9132b59d9945e1f75 /doc/style.css | |
parent | e22b1d05214ee90e7424f856dae43a35902950cf (diff) | |
download | ikiwiki-4bda18a50aab714e72fce347cb4cff32316e55de.tar ikiwiki-4bda18a50aab714e72fce347cb4cff32316e55de.tar.gz |
Support align attribute for img with caption
This is achieved by preparing CSS definitions that emulates the behavior
of the align attribute, and passing it to the outermost IMG wrapper
(A or TABLE) instead of passing the align value to IMG directly.
Diffstat (limited to 'doc/style.css')
-rw-r--r-- | doc/style.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/style.css b/doc/style.css index be86a0818..c56494fff 100644 --- a/doc/style.css +++ b/doc/style.css @@ -82,6 +82,26 @@ div.tags { text-align: center; } +.align-left { + float:left; +} + +.align-right { + float:right; +} + +.align-top { + vertical-align:top; +} + +.align-bottom { + vertical-align:bottom; +} + +.align-middle { + vertical-align:middle; +} + #backlinks { margin-top: 1em; } |