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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frame layout??

Status
Not open for further replies.

Oxymoron

Technical User
Dec 17, 2000
168
GB
hi y'all
I'm making a page, which simply consists of 2 frames (horizontal)
The top frame is 16%, *
then I have an image in this top frame which at my resolution fits perfectly, howevere, the image is cut off on any smaller res's.....is there ANYTHING I can do???
please help anyone
all comments/suggestions welcome!
thanx
JoE
 
Two things you can do...

1. Instead of 16%,* use xxx,* where xxx is the pixel height of your image.

2. Keep using 16% but within your image tag state that height=100%. This has an added benefit of scaling if the user moves the frame divider or changes the size of the window.

Hope it helps,
Rob
Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
thanks very much, it worked brilliantly, the image isn't cropped at all, whatever res. However, one question which is relevant to this thread...
there is now (at whatever frame % I specify) a small black border around the edge of my image. This looks out of place...does anyone know why???
all comments, and suggestions welcome!!
thax
JoE
 
If its around the edge of your image specify border=0 in the img tag.

Later, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top