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] 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



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