What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » background stretch

Pages: (2): « First [ 1 ] 2 » Last »
background stretch
Author: Message:
DJKAL
Senior Member
****

Avatar

Posts: 800
Reputation: 14
33 / Male / –
Joined: Oct 2005
O.P. background stretch
im coding another website and would like to know if it is possable to use a background image and have it to stretch to the size of the veiwes monitor

so if you have a 15" monitor it will be the image in a smaller size
but if you have a 22" monitor you will see the same image but fittingyour screen

is this possable and with what codes?
thanks!
"You don't sleep, you defragment!"
03-05-2006 03:59 PM
Profile E-Mail PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: background stretch
Correct me if im wrong but i dont think it makes a difference if its a 15 inch monitor or a 22 inch one. Its the resolution that matters. But then again i could be wrong :)

I think cookie knows what im talking about ... i remember him saying something similar once ;)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
03-05-2006 06:35 PM
Profile E-Mail PM Web Find Quote Report
DJKAL
Senior Member
****

Avatar

Posts: 800
Reputation: 14
33 / Male / –
Joined: Oct 2005
O.P. RE: background stretch
the size's were just ideas not actual sizes - ANY size i want.

i just want the image to resize its self to the size of the browser window when the page is loaded
"You don't sleep, you defragment!"
03-05-2006 06:55 PM
Profile E-Mail PM Web Find Quote Report
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
32 / Male / Flag
Joined: Jun 2004
RE: background stretch
JA is almost right... The size of the monitor doesnt matter, but each monitor has a maximum resolution, per example, mine is a 17" one, and it can go from 640x480 to 1280x1024..

Back on topic, iirc, there isnt anything you can identify a viewers resolution with.
03-05-2006 06:55 PM
Profile E-Mail PM Find Quote Report
DJKAL
Senior Member
****

Avatar

Posts: 800
Reputation: 14
33 / Male / –
Joined: Oct 2005
O.P. RE: background stretch
so it isnt possible to get the image to auto. resize when the page loads?
"You don't sleep, you defragment!"
03-05-2006 06:56 PM
Profile E-Mail PM Web Find Quote Report
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
RE: background stretch
quote:
Originally posted by DJKAL
so it isnt possible to get the image to auto. resize when the page loads?

My advice would be to use a small picture that is symetric. Therefore if it is bigger, it will strech and still look good.

An example of a background I use : http://www.lp15.com/alby/bg.png

You can see it's quite small, but most of all symetric.

How it looks on the page :

http://www.lp15.com/alby
03-05-2006 06:59 PM
Profile E-Mail PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: background stretch
quote:
Originally posted by alby
quote:
Originally posted by DJKAL
so it isnt possible to get the image to auto. resize when the page loads?

My advice would be to use a small picture that is symetric. Therefore if it is bigger, it will strech and still look good.

An example of a background I use : http://www.lp15.com/alby/bg.png

You can see it's quite small, but most of all symetric.

How it looks on the page :

http://www.lp15.com/alby

Thats tileing the image, not making it stretch to fit :-/

You can't stretch a background image, the only time you can set the size of an image is when its used in the <img> tag

Which isn't a bad thing because if you stretch your background it will always look mis-shapen and pixelated with someones resolution.
Stretching != cool :p

This post was edited on 03-05-2006 at 07:07 PM by Plik.
03-05-2006 07:03 PM
Profile PM Find Quote Report
DJKAL
Senior Member
****

Avatar

Posts: 800
Reputation: 14
33 / Male / –
Joined: Oct 2005
O.P. RE: background stretch
no - my image isnt like that.
my image is made in photoshop
and is a dark to light blue fade with the text at the top in an effect and then another image is sunken into the background
it looks realyl effective but i need it to fill the screen always and to not half fill it or be too big
"You don't sleep, you defragment!"
03-05-2006 07:05 PM
Profile E-Mail PM Web Find Quote Report
Kryptonate
Veteran Member
*****

Avatar

Posts: 2874
Reputation: 23
37 / Male / –
Joined: Jun 2003
RE: background stretch
quote:
Originally posted by Johny
Back on topic, iirc, there isnt anything you can identify a viewers resolution with.
yes there is. It's called Javascript :p.
03-05-2006 07:21 PM
Profile E-Mail PM Find Quote Report
DJKAL
Senior Member
****

Avatar

Posts: 800
Reputation: 14
33 / Male / –
Joined: Oct 2005
O.P. RE: background stretch
quote:
Originally posted by Kryptonate
yes there is. It's called Javascript

.... can you explain how to do this then?
* DJKAL asks nicely :P
"You don't sleep, you defragment!"
03-05-2006 07:23 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On