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


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]