This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Another (embarrassing) CSS Question
- From: "Carlos Araya" <carlos at cvc dot edu>
- To: <docbook-apps at lists dot oasis-open dot org>,<JABakken at dstsystems dot com>
- Date: Tue, 15 Jul 2003 12:40:58 -0700
- Subject: Re: [docbook-apps] Another (embarrassing) CSS Question
- References: <OF31A89EBE.18C71A71-ON86256D64.006AB45F@dstsystems.com>
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