Forums

This topic is locked

Extending Logo

Posted 12 Apr 2003 07:24:37
1
has voted
12 Apr 2003 07:24:37 George Mercury posted:
Hello!
I would like to make a logo on my page which would self-resize depending on the window size. It should be like on the page www.fastavr.com ( the Fast AVR Basic compiler by microdesing part ). So how do you make the most right picture to extend but not stretch? I suppose I have to use a table.

Best Regards
George

Replies

Replied 12 Apr 2003 10:17:26
12 Apr 2003 10:17:26 Graham Cole replied:
HI

The best way to do this is to use Javascript. Use the window.screenwidth and window.screen height functions to determine the screen resolutions and then use an appropriate image.

Hope this helps

Graham

Reply to this topic