matto
12-11-2007, 11:19 PM
I'm working on two versions of an image gallery. The simpler version features a page of thumbnails with an iframe at the bottom. The links are targeted to the iframe and everything works well.
The only problem I have is that I keep having to increase my frame size because IE displays a large amount of whitespace around the image within the frame. I am currently loading each picture directly into the frame; the default source for the frame is an empty page with a white background, to blend in with the rest of my site.
I know I could make a quickie page for each image I want to load and control the margin/padding that way, but it seems extremely tedious. Is there something I'm missing? I've already tried setting the margin and padding to 0 in the style for the iframe, but that doesn't have any effect.
The only problem I have is that I keep having to increase my frame size because IE displays a large amount of whitespace around the image within the frame. I am currently loading each picture directly into the frame; the default source for the frame is an empty page with a white background, to blend in with the rest of my site.
I know I could make a quickie page for each image I want to load and control the margin/padding that way, but it seems extremely tedious. Is there something I'm missing? I've already tried setting the margin and padding to 0 in the style for the iframe, but that doesn't have any effect.