Adjusting a picture to the size of a window

V

Victor Louie

Hi,

I'm a newbie...I'm having trouble changing the size of an image when I
use different window sizes when loading the and resizing the browser window.

If anyone could help it would be appreciated.

Thanks

Victor
 
E

Evertjan.

Victor Louie wrote on 27 jun 2003 in comp.lang.javascript:
I'm a newbie...I'm having trouble changing the size of an image when I
use different window sizes when loading the and resizing the browser
window.

<body>
<img src=".." style="width:100%;height:100%;">
</body>
 
V

Victor Louie

rf said:
Why do you want to change the size of an image?




When *you* use different window sizes? Don't understand.




Your browser window or mine. If you resize mine then you have lost me as a
viewer. Instantly.

Cheers
Richard.
I'm trying to resize a spacer image on the bottom on the left of my page
so that that it will stretch to the bottom the page (it's fixed at
181x119 for now) because I get this:

http://pector.homelinux.com/main/index2.html

when the content on the right goes further down that the menu on the left.

If the left side is longer than the content on the right side...then it
looks fine (http://pector.homelinux.com/main/)...which is what I'm
trying to get it to look like

If there is a better alternative to JavaScript could you let me
know...b/c I'm pretty sure PHP won't work (b/c I'm a lot better at that :)).

Hopefully this clears it up...its been a long night.

Thanks

Victor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top