Solved

Creating window within webpage

Posted on 2004-03-25
5
223 Views
Last Modified: 2010-04-06
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!
0
Comment
Question by:bromide
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 4

Accepted Solution

by:
BrianPap22 earned 250 total points
ID: 10684753
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
 
LVL 12

Expert Comment

by:venkateshwarr
ID: 10684755
0
 
LVL 35

Expert Comment

by:YZlat
ID: 10686793
0
 

Author Comment

by:bromide
ID: 10690538
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
 

Author Comment

by:bromide
ID: 10690780
brianpap's worked just like i was looking for.  Thanks to all that replied!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Code in .htaccess file removing php extension from url ...other pages on site no longer available. 4 216
Microsoft Edge 9 110
Stupid git question 2 135
Unexpected End of File 11 87
When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question