Reply LinkBack (1) Thread Tools Search this Thread
Old 05-05-2007, 21:33   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Evostance
Registered User
 
Join Date: May 2007
Posts: 48
Making a scrollbarred area inside a webpage

Hi

Im my website [gameuplink.c*m/guni/digitalmultiaboutspeakers.html]digitalmultiaboutspeakers[/url]
i would like to put an area which has content in it but you scroll in it inside that white area in the center

Just like this:


Code:
TEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERETEXT GOES HERE

could someone tell me how to do this please. I am trying to put in into a frameset with a white background image.
  Reply With Quote
Old 05-05-2007, 22:33   #2 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Frameset? Probably a bad idea.

Try a fixed width box (anything will work, div, p, pre, and so on) with overflow: auto;
  Reply With Quote
Old 06-05-2007, 11:48   #3 (permalink)
hawken
Cornish Pasty
 
hawken's Avatar
 
Join Date: Nov 2003
Location: Tokyo, Japan
Posts: 2,868
Send a message via MSN to hawken
iframe

then you can change the content without changing the page
__________________
  Reply With Quote
Old 06-05-2007, 13:00   #4 (permalink)
Evostance
Registered User
 
Join Date: May 2007
Posts: 48
erm ok...how do I do that lol
  Reply With Quote
Old 07-05-2007, 08:22   #5 (permalink)
longisland6
stephen eighmey
 
Join Date: Oct 2006
Location: earth
Posts: 164
google...
  Reply With Quote
Old 08-05-2007, 05:33   #6 (permalink)
flasherr
latvian
 
flasherr's Avatar
 
Join Date: Apr 2007
Location: Latvia, Riga
Posts: 20
for example, this:
dynamicdrive.com/dynamicindex17/iframescroll.htm
  Reply With Quote
Old 08-05-2007, 06:01   #7 (permalink)
Limbo
Another turn.
 
Join Date: Feb 2005
Posts: 5,927
Agree with Pat. Container + overflow:auto is a better route than an iframe in almost every case.

example:

HTML:

Code:
<div id="yourbox">content content content content content content content content content content content content content content content content content content content content content content content content content content content content content </div>

CSS:

Code:
#yourbox {width:200px;height:200px;background:#eee;overflow:auto;}
  Reply With Quote
Old 08-05-2007, 11:15   #8 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Quote:
Originally Posted by hawken
iframe

then you can change the content without changing the page
You can do that with a container + overflow: auto, too...
  Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.designerstalk.com/forums/help-me/26020-making-scrollbarred-area-inside-webpage.html
Posted By For Type Date
Making a scrollbarred area inside a webpage This thread Refback 20-06-2007 04:58

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8