W3C home > Mailing lists > Public > www-talk@w3.org > January to February 1996

Re: <table ... and <body background ...

From: lilley <lilley@afs.mcc.ac.uk>
Date: Mon, 26 Feb 1996 17:21:24 +0000 (GMT)
Message-Id: <3984.9602261721@afs.mcc.ac.uk>
To: A.Aitken@unl.ac.uk (ALASTAIR AITKEN CLMS)
Cc: www-html@w3.org, www-talk@w3.org
Alastair Aitken writes:

> I'd like to either exclude the background specified in the <body ... > </body>
> statement from a <table ... > </table> *or* specify a different background
> for the table.  As far as I am aware I cannot do either.

Could be - what sort of HTML are you writing?

>  Does anyone know better?  Has anyone wanted to do this and couldn't?  
> Does anyone else want to?

I wanted to and did, using stylesheets. This was fairly simple. See
the html [1] the stylesheet [2] and a gif of the result [3]. The relevant
parts of the stylesheet being:

  html     { color: #030; background: #F7FFD7 }
  table    { background: "smudge3.png" #FFD }

[1] http://info.mcc.ac.uk/CGU/staff/lilley/test/css/ws/confs2.html
[2] http://info.mcc.ac.uk/CGU/staff/lilley/test/css/ws/new-style.css
[3] http://info.mcc.ac.uk/CGU/staff/lilley/test/css/ws/arena-wc-tn.gif
-- 
Chris Lilley, Technical Author and JISC representative to W3C 
+-------------------------------------------------------------------+
|  Manchester and North Training & Education Centre   ( MAN T&EC )  |
+-------------------------------------------------------------------+
| Computer Graphics Unit,             Email: Chris.Lilley@mcc.ac.uk |
| Manchester Computing Centre,        Voice: +44 161 275 6045       |
| Oxford Road, Manchester, UK.          Fax: +44 161 275 6040       |
| M13 9PL                            BioMOO: ChrisL                 |
| Timezone: UTC        URI: http://info.mcc.ac.uk/CGU/staff/lilley/ | 
+-------------------------------------------------------------------+
Received on Monday, 26 February 1996 13:11:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:19 GMT