docbook-apps

drop caps in first paragraph? aligning images?

  • 1.  drop caps in first paragraph? aligning images?

    Posted 10-13-2009 07:52
    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).





    Robert Nagle