OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
>
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]