W3C home > Mailing lists > Public > www-html@w3.org > June 2003

Re: HTML Body Background as Color !

From: Joris Huizer <joris_huizer@yahoo.com>
Date: Wed, 18 Jun 2003 01:04:00 -0700 (PDT)
Message-ID: <20030618080400.74457.qmail@web20201.mail.yahoo.com>
To: Sivan Lakshmanan <Sivan@shcsb.com.sg>, "'www-html@w3.org'" <www-html@w3.org>

--- Sivan Lakshmanan <Sivan@shcsb.com.sg> wrote:
> By Mistake I have supplied a color code as
> background to my page and found
> that the page got reloaded twice whenever it is
> called... Why??
> <BODY background="#F9F9F9"  bgcolor="#f4f4f4"> 
> ......
> </BODY>
> Thanks in Advance
> Sivan

Well, because a hexadecimal value is not allowed in
background, the result kind of undefined; In a
programming language you'd just get the
compiler/interpretter complaining about illegal syntax
but because of the design of HTML the browser just
tries to understand your tag soup...
I have no idea what browsers do with a hexadecimal
value for background; Reloading twice seems weird but
strictly speaking you can't even call it a bug


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Received on Wednesday, 18 June 2003 04:04:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:04 UTC