Jump to content


Photo

Hmmm - No Iframe


  • Please log in to reply
2 replies to this topic

#1 jaymc

jaymc
  • Members
  • PipPipPip
  • Advanced Member
  • 1,521 posts
  • LocationLiverpool

Posted 28 October 2006 - 12:12 AM

Ok, I want to create like an iframe type feature

Basically, have a large amount of content in an area but not have it stretch the page

The usual way to combat this is to just use an iframe, and of course have the content scroll within the iframe

Well, is their anyway to do this without frames?

Perhaps using javascript
I would love to change the world, but they won't give me the source code

SEO Agency

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 28 October 2006 - 04:23 PM

Sure, a div with overflow.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 Skatecrazy1

Skatecrazy1
  • Members
  • PipPipPip
  • Advanced Member
  • 126 posts
  • LocationSouthern California

Posted 28 October 2006 - 05:11 PM

yep fenway's got the idea.

on your html:
<div id="container">Content here, this will be overflowabble (if that's a word) when you're done.
</div>

in the css:
#container {
overflow: auto;
}

very simple.
fuck it or fight it




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users