W3C home > Mailing lists > Public > www-validator@w3.org > March 2005

Re: <td background="images/bg.jpg">

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 16 Mar 2005 13:58:44 +1100
Message-ID: <4237A0E4.2010902@lachy.id.au>
To: www-validator@w3.org
CC: Graham <zen37549@zen.co.uk>

David Dorward wrote:
> On Tue, Mar 15, 2005 at 05:28:45PM +0000, Graham /quoted/:
>
>>style="background-image:images/bg.jpg;"
> 
> Actually the syntax is: background-image: url(images/bg.jpg).

Sorry, that was my fault for omitting the url() function.  Graham seems 
to have quoted my earlier message, but his e-mail client hasn't quoted 
it properly, nor given attribution.

> Graham wrote this part:
>> The problem with an external stylesheet is that it displays the
>> background on some pages but not on others

The style will be applied to any element which the selector matches.  If 
the selector doesn't match anything, the styles won't be applied to 
anything.  You should probably ask for help on this issue in a CSS 
related help mailing list, forum or newsgroup.  Try CSS Discuss [1] or 
news:comp.infosystems.www.authoring.stylesheets on USENET.

[1] http://www.css-discuss.org/
-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Wednesday, 16 March 2005 02:58:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT