RE: Is there a PHP code for this?
AFAIK resolution can only be detected with javascript. PHP will certainly not work, PHP runs serverside, the resolution is clientside.
Keep in mind that there is a big difference between screen resolution and browser window resolution.
I personally wouldn't fill the background with one big image, it probably wont look good when a user resizes the window while viewing your page and keep a watch on the filesize of the image.
|