Reply to Re: Sizing Page Backgrounds

Your name:

Reply:


Posted by Els on 12/11/05 18:47

PJB wrote:

> Is there a way to define the size of a page's background image
> so it spans 100% of any screen? Depending upon the computer
> and screen resolution, my background images do not always fill
> the screen. My default design resolution has been 800 X 600 but
> on a wide-screen laptop at a higher resolution, this looks like a
> design error

That's because it *is* a design error ;-)

> (see www.pjbird.com). Currently, I set my text formatting
> to span only 800 pixels but would like the background image to fill
> the page.

Just get an image that is very large, looks good in full and looks
good when cut around the sides, and center it.

> Should I reformat my images to a larger dimension?
> Is there an HTML command to set the image width to span 100% of
> the screen (like a table option)?

Not for background images.

> Should I use a layer tag or other option?

You could of course use an image in the HTML instead of it being a
background image, which opens up some scaling options. I doubt your
background image will look good when stretched 150% horizontally and
70% vertically for instance.

> My use and knowledge of HTML is limited so any insights would help.
> Note the following tag (I am not using CSS but have during various design
> phases):
>
> <body text="#ff9900" link="#FF9900" vlink="#0099FF" Style=
> "margin-top:20px; margin-left:20px; background-image:url('Damsel_fly.JPG');
> background-repeat: no-repeat">

Having used CSS during various design phases is no excuse for ending
up with using text, link and vlink attributes in a body element ;-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

[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

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