This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Another (embarrassing) CSS Question


When you declare the CSS for image just try img instead of div.img. The code
as you had it wanted to work only on the image tags that were inside a div
as a first child. img by itself works on all images.

Carlos
----- Original Message -----
From: <JABakken@dstsystems.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, July 15, 2003 12:31
Subject: [docbook-apps] Another (embarrassing) CSS Question


>
>
>
>
> I apologize right off the bat for asking this question because it's a CSS
> question and I'm not quite sure it's really that related to docbook. But
> here I go anyway.
>
> As usual, my problem focuses around spacing. I've inserted a graphic using
> the docbook <graphic> tag, and what I want to do is, using a CSS, I want
to
> control the spacing above and below the graphic (i.e. top and bottom
> margin). So in my CSS I tried referring to div.img, which it just did not
> like.
>
> Does anyone have any ideas on how I can control this spacing? (I also
tried
> out of curiosity the <literallayout> tag, but I think that's only for
> text.)
>
> Thanks for your patience.
>
> JB
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]