|
how to make background image fit with all screen sizes
|
| Author |
Message |
colin
Senior Member
   
Posts: 251
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 0
Country: 
|
how to make background image fit with all screen sizes
hi guys,
is there any way to make an image of 1024x764 fit with screen size of 1152x864, 800x600 or other screen sizes?
|
|
| 09-15-2007 08:13 AM |
|
 |
smacker
Member
  
Posts: 234
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
Country: 
|
RE: how to make background image fit with all screen sizes
You mean on a web page, not a physical desktop, right? Just checking...
Yes, there is a way:
http://www.cssplay.co.uk/layouts/background.html
(View source to see how it's done.)
Or even:
http://www.htmlite.com/faq022.php
(If you don't feel like analysing someone else's source code.)
Keep in mind, of course, that this method will stretch your image to the dimensions of the browser window, so if you have something that needs its aspect ratio maintained, it's going to look mighty funny (the stretchy bunny is a good example).
|
|
| 09-15-2007 11:43 AM |
|
 |
cools4u
Junior Member
 
Posts: 29
Group: Registered
Joined: Aug 2008
Status:
Offline
Reputation: 0
Country: 
|
RE: how to make background image fit with all screen sizes
You can make your background image fit on any screen resolution but it will be stretched or distort when moving from higher to lower resolution so you can try using a background with fixed image width....
|
|
| 05-11-2010 10:16 PM |
|
 |