Users Viewing This Thread
 1 Guest(s)
amatorbalikci.net

Post Reply  Post Thread 
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:
Post: #1
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
Find all posts by this user Quote this message in a reply
smacker
Member
***


Posts: 234
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0

Country:
Post: #2
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
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: