Scrolling problem when window not maximised.

liunx

Guest
Hi,
I have a webpage with an iframe in it. The iframe is sized and styled with a CSS class like so:

.mainFrameStandard
{position: absolute;
left: 0%;
top: 15px;
width: 983px;
height: 400px;
z-index: -1;
border: 2px solid silver;
white-space:nowrap;
}

The page looks just as I want it when the window is maximised.

The problem is whenever the window is not maximised the scrollbar appears as normal however it doesn't scroll all the way to the bottom of the page so a little bit at the end of the iframe is impossible to see on anything other than a maximised window.

I think this might be to do with the fact I am using pixel values instead of percentages but I would much rather stick with those if I could.

Has anyone seen a problem like this before and do you have any ideas how I could fix it?do you mean you can't see the entire frame itself? or the contents?

if it's the entire frame itself you can't see then you'll probably have to use a % or a smaller value.i would say change your height to a percentage as well.
 
Back
Top