From 0c23c000bdd9eee5a510c8c9474dd9a0727e860f Mon Sep 17 00:00:00 2001 From: Stuart Rackham Date: Wed, 5 Sep 2012 09:12:04 +1200 Subject: HTML backends: Align inline images to text-bottom. --- html4.conf | 4 ++-- stylesheets/asciidoc.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html4.conf b/html4.conf index 51c849b..317d9ae 100644 --- a/html4.conf +++ b/html4.conf @@ -40,8 +40,8 @@ template::[pi-blockmacro] [image-inlinemacro] # src attribute must be first attribute for blogpost compatibility. -{data-uri%}{alt={target}} -{data-uri#}{alt={target}} +{data-uri#}{alt={target}} {link#} diff --git a/stylesheets/asciidoc.css b/stylesheets/asciidoc.css index 163de67..2f94f1e 100644 --- a/stylesheets/asciidoc.css +++ b/stylesheets/asciidoc.css @@ -215,7 +215,7 @@ div.exampleblock > div.content { } div.imageblock div.content { padding-left: 0; } -span.image img { border-style: none; } +span.image img { border-style: none; vertical-align: text-bottom; } a.image:visited { color: white; } dl { -- cgit v1.2.1