Reply to Re: background image in body tag

Your name:

Reply:


Posted by David Dorward on 10/29/05 21:38

Eric wrote:

> <body background="GetImage.cgi" bgcolor="gray"

Background images and colours should be handled by CSS, not HTML.

> With GetImage.cgi just sending back the bytes of the particular image file
> i want? will cgi override the bgcolor?

A URL that returns an image file is a URL that returns an image file. How
the server gets its data is immaterial to the client.

> Anything special needed in the cgi (if i can do this)?

No. (Although you obviously need to send the correct content-type headers,
and probably want to set cache control headers so the user doesn't have to
repeated download the image).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация