jaymc Posted October 28, 2006 Share Posted October 28, 2006 Ok, I want to create like an iframe type featureBasically, have a large amount of content in an area but not have it stretch the pageThe usual way to combat this is to just use an iframe, and of course have the content scroll within the iframeWell, is their anyway to do this without frames?Perhaps using javascript Quote Link to comment Share on other sites More sharing options...
fenway Posted October 28, 2006 Share Posted October 28, 2006 Sure, a div with overflow. Quote Link to comment Share on other sites More sharing options...
Skatecrazy1 Posted October 28, 2006 Share Posted October 28, 2006 yep fenway's got the idea.on your html:[code]<div id="container">Content here, this will be overflowabble (if that's a word) when you're done.</div>[/code]in the css:[code]#container {overflow: auto;}[/code]very simple. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.