View Full Version : forcing iframe to conform to image size?


elysia
06-08-2003, 02:44 AM
hmm Ok. not sure if I can explain this properly. Basically, what I want to do, is make an image file open in an iframe. But, everytime you open an image, there is a ton of whitespace around the image(because they arent on seperate html pages and that woudl take ages). So, i was wondering if there was anyway i could make the iframe sort of conform to whatever size the images are(they are all different sizes) so that it wouldnt look so bad with the background. Or, perhaps make everything in the iframe transparent except the image(i know how to do transparency like on an html page, but im just linking to like whatever.jpg.) Or perhaps there is a better way of doing it.
Any ideas, anyone? Any suggestions much appreciated and welcome.
Thank you very much in advance if you have any ideas
-elysia