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

Re: HTML Body Background as Color !

From: Herr Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Sat, 21 Jun 2003 09:43:45 +0200
To: Sivan Lakshmanan <Sivan@shcsb.com.sg>, "'www-html@w3.org'" <www-html@w3.org>
Message-Id: <200306210943.47990.Christian.Hujer@itcqis.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sivan,


Am Mittwoch, 18. Juni 2003 06:36 schrieb Sivan Lakshmanan:
> 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??
>
> PAGE IS LOADED TWICE:
> <BODY background="#F9F9F9"  bgcolor="#f4f4f4">
> ......
> </BODY>
>
> Thanks in Advance

That's a partly well defined behaviour.
The background has to be a URI.
URIs can have fragment identifiers that start with # to a unique fragment of a 
resource.
A URI may consist solely of a fragment identifier. The fragment identifier 
then identifies a fragment of the *current* resource, which is the web page 
itself.

This will lead the browser to loop. Today, browsers usually detect loading 
loops and prevent them.

I also want to remind you that you're using a very outdated version of html. 
In current version none of the attributes you used in your example are valid. 
The use of stylesheets instead is recommended.


Bye

P.S.:
Resent message because of some Mailer problem.
Sorry for this inconvenience.
- --
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+9Ayxzu6h7O/MKZkRApp5AJ4++oNqe234CPmumRPO7OJDKju4DwCfTqjf
QKj6M/695WItSexixTydMCE=
=igce
-----END PGP SIGNATURE-----
Received on Saturday, 21 June 2003 03:58:03 GMT

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