Solved

Creating window within webpage

Posted on 2004-03-25
5
212 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

790 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