← Prev in month ← Prev in thread

drop caps in first paragraph? aligning images?

From
Robert Nagle <>
Date
2009-10-13T07:52:05+00:00
ID
Thread
drop caps in first paragraph? aligning images?
Is there a way in docbook to mark your text in your chunked HTML
output so that the first letter of the first paragraph in a chapter
will use dropcaps (through a css class, I mean)?
(Here's a css way to do it http://tinsology.net/2009/06/css-drop-cap-effect/ )

I see that you can set image alignment for graphics inside imagedata
http://www.sagehill.net/docbookxsl/ImageAlignment.html

However, I see that doing that will insert a  style="text-align:right"
into the div element. I don't understand; why does text-align: right
apply to the img element as well?  (this may be a CSS question, not a
docbook question).

   <div class="mediaobject" style="text-align: right"><a
xmlns:saxon="http://icl.com/saxon" id="MilenaJesenska"/><img
src="images/milena.jpg" style="text-align: right" alt="Milena
Jesenska, journalist and girlfriend of Kafka who corresponded with him
frequently."/></div>



Robert Nagle
← Prev in month ← Prev in thread