This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Problems with formating tables via CSS
- From: "David Cramer" <dcramer at motive dot com>
- To: "Oliver Fischer" <plexus at snafu dot de>,"docbook-apps mailing list" <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 6 Jun 2003 14:08:27 -0500
- Subject: RE: [docbook-apps] Problems with formating tables via CSS
Put this in your css to make tables inherit your font settings:
/* Rule to fix quirks-mode inheritance behavior */
table, caption {
font-size: inherit;
font-weight: inherit;
font-style: inherit;
font-variant: inherit;
}
For the explanation:
http://devedge.netscape.com/viewsource/2002/table-inherit/
Off topic, but I think setting font size absolutely is a bad idea. It's not nice for unfortunate souls who use IE and want to set their screen resolution to 1600x1200.
David
-----Original Message-----
From: Oliver Fischer [mailto:plexus@snafu.de]
Sent: Friday, June 06, 2003 12:44 PM
To: docbook-apps mailing list
Subject: [docbook-apps] Problems with formating tables via CSS
Hello list,
I have documents created with DocBook (+ XSL stylesheets) and Website.
If I write "body { font-size: 12px; }" - the font size of tables doesn't
change in documents created with DocBook.
But the same statement works fine for websites created with WebSite.
Does someone know this problem?
MfG
Oliver Fischer
---------------------------------------------------------------------
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