W3C home > Mailing lists > Public > www-html@w3.org > October 2002

Re: xhtml strict - how to have caption below table and caption text with smaller font size

From: (wrong string) šper <christoph.paeper@tu-clausthal.de>
Date: Mon, 21 Oct 2002 14:46:15 +0200
Message-ID: <004501c278ff$d862c360$3ef4ae8b@heim4.tuclausthal.de>
To: <www-html@w3.org>
Cc: "Ralf Hauser" <hauser@acm.org>

Ralf Hauser <hauser@acm.org>:
>
> <caption align="bottom" style="font-weight:bold"><small>Building blocks
> to improve mail privacy</small></caption>
>
> 1) How to do the same in valid xhtml?
> 2) What is the right place to find such answers without bothering a
> mailing list?
> 3) How could I also improve on the "small" tag? I would rather use
> something like style="font-size-adjust: -2;" - is it the browsers why
> this didn't work?
> 4) How would I take all this out of the document inline style and put it
> into a CSS stylesheet?

[1), 4). In your HTML file:]
<link rel="stylesheet" type="text/css" media="all" href="style.css">
</head>
...
<table><caption>Building blocks to improve mail privacy</caption>...

[3), 4). In style.css:]

caption {font-weight: bold; font-size: smaller}
table   {caption-side: bottom}

[2)] You can ask this kind of questions in Usenet groups like
<news:comp.infosystems.www.authoring.html>,
<news:comp.infosystems.www.authoring.stylesheets> or -- as your name sounds
German -- <news:de.comm.infosystems.www.authoring.misc>.

Christoph
Received on Monday, 21 October 2002 08:46:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT