/    Sign up×
Community /Pin to ProfileBookmark

CSS Frameset – PLEASE HELP – window clipping in Firefox

Hi Everyone

I am trying to creat a CSS frameset with a fixed size header and a main body that spans the rest of the page.

As I have written it, the code works perfectly in IE6, However I get window clipping in Fire Fox. The vertical scroll bar of the main body region spans past the border of the browser window. I simply do no know why but I must be able to resolve this cross broweser.

Please HELP! Any feedback would be greatly appreciated.

<html>
<head>
<style>

html {overflow-y: hidden; }
body{margin:0; padding:0; overflow: hidden;}
#container {float: left; overflow: auto; height: 100%; width: 100%; Padding: 100px 0 0 0;}
#top{height:100px; background:#f00; margin: -100px 0 0 0; }
#bottom { height: 100%; width: 100%; background: #00f; float: auto; }
</style>

<title>Sample TLR in CSS </title></head>
<body>
<div id=”container”>
<div id=”top”>Top Frame. header</div>
<div id=”bottom”>
<iframe name=”I1″ src=”http://www.msn.com” width=”100%” height=”100%”
border=”0″ frameborder=”0″>
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe></div></div>
</body>
</html>

to post a comment
CSS

1 Comments(s)

×

Success!

Help @kurson spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...