PDA

View Full Version : Dynamic image resizing on webpage?


TBonZ
15 Dec 2004, 7:30pm
Hi guys, I'm creating this website right now.... http://lotsawatts.ca

What I want to be able to do is have images automatically resize themselves according to somebody's screen resolution. After you click through the logo, it takes you to what will be the main page. It looks fine at my resolution and maybe even a bit small but when you view it at 1024X768 it goes off the screen and you have to scroll to see the entire image.

Is there some code I can add that will achieve this? Know what I'm getting at?

BTW - I'm playing with the graphics quite a bit deciding on a what I want to go with, so nothing you see is permanent.

leishi85
15 Dec 2004, 8:13pm
hope this helps.

http://webreference.com/programming/javascript/images/

Thrax
15 Dec 2004, 8:23pm
Use CSS + PNG.

TBonZ
15 Dec 2004, 8:45pm
Thanks for directing me in the right direction guys.