Creating window within webpage

Hello,

I am trying to make a webpage, what i am looking for will be able to display content inside a window on the webpage say something like 300px by 300px that has its own scrollbar.  

i would prefer to stay away from iframes.  thanks!
bromideAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BrianPap22Connect With a Mentor Commented:
Use cascading style sheets. Much better than an iframe:

<div style="width:300px;height:300px;overflow:auto">
blah
</div>

If the content inside the divs is too big for the 300x300 sized box, then overflow:auto tells the browser to display scroll bars if necessary.

Cheers
0
 
venkateshwarrCommented:
0
 
YZlatCommented:
0
 
bromideAuthor Commented:
Thanks! i am going to be testing these out and will respond back later!


PS. i am going to up the points to 250.
0
 
bromideAuthor Commented:
brianpap's worked just like i was looking for.  Thanks to all that replied!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.