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] Problems with formating tables via CSS


Hallo David,

thank you thousend times. I spend the hole afternoon with debugging my stylesheet. After reading this article I understood the one document is rendered in quirks mode, but the other one in "Standards compliance mode".

Thanks,

Oliver


David Cramer wrote:
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


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