I have a website which fits perfectly in the web browser (either IE or gecko based), that is, it doesn't show with horizontal scrollbars.
My problem comes when i put the website in it's own frame, here's my code:
string strHTML = @"<html><title>Edit by surf</title>" +
"<frameset rows='95%,5%'>" +
"<frame name='main' src='" + location + "/index.htm' scrolling='auto'>" +
"<frame name='toolbar' src='toolbar.aspx' scrolling='no' noresize>" +
aplogies for the above C# code, but you get the idea.
My problem is, the website is is about 20px to big and thus showing a horizontal scrollbar.
In mozilla it doesn't show a scrollbar in IE it does. If it's in it's own browser window it doesn't show a scrollbar.
What's going on?
PS. The website is completely centered with CSS so there are no elements that are anywhere near the edge of the screen.