Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

view In Browser size 1

Status
Not open for further replies.

pgtek

Programmer
Sep 28, 2001
1,180
CA
Hello

I have a frameset in my main webpage calling header.htm and main.htm
When i view it in resoluation 800X600 everything looks fine
but in bigger size my header image does fit all the top part. my header image 800 is there a way to set it to ajust depending on the browser resolution size

and what should my frame size be
like <frameset> ...,.... since i have just the header and main listed in my frameset

Thank you

pgtek
 
HEADER.HTM
<html><div align=&quot;center&quot;>
<img src=&quot;image.jpg&quot; alt=&quot;&quot; />
</div></html>

This would at least center the image. Images can be stretched but then you would need code to know when to stretch it and this can get ugly. Also your image might not look good stretched.

To stretch an image that was originally say 800*100, to 1000*100 you would code:
<img src=&quot;image.jpg&quot; alt=&quot;&quot;
width=&quot;1000px&quot; height=&quot;100px&quot;/>




Clive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top