NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Best way to have content scroll inside a table cell?

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 05-02-2005, 09:15 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Apr 2005
Posts: 2
castoutcomic is an unknown quantity at this point
 



Best way to have content scroll inside a table cell?


I want to have a main content area of the page that scrolls so I don't have to stretch my table way down to fit all of the content. So basically I want to have a table cell that has a scroll bar on the right so you can scroll through the content. What's the best way to do this that is broswer friendly? IFrames, Layers, etc? Thanks for any help!
castoutcomic is offline  
Old 05-02-2005, 09:49 PM   #2 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



It's simpler than simple.

Create a div for the content like this:

Code:
<div style="overflow: auto; height:300px; width:100%;">
<p> Content Content Content Content</p>
</div>
That should work.
Rowan W is offline  
Old 05-02-2005, 11:24 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: Apr 2005
Posts: 2
castoutcomic is an unknown quantity at this point
 



Simple is good. Thanks, I'll give it a shot!
castoutcomic is offline  
Old 05-03-2005, 06:09 PM   #4 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Another option is to use a standard textarea tag with the "readonly" attribute. This is good for displaying simple text documents like license agreements, etc.
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Old 05-03-2005, 06:11 PM   #5 (permalink)
Senior Member
 
danstevenson's Avatar
Join Date: Jan 2005
Location: Calgary
Posts: 1,357
danstevenson is a name known to alldanstevenson is a name known to alldanstevenson is a name known to alldanstevenson is a name known to alldanstevenson is a name known to alldanstevenson is a name known to alldanstevenson is a name known to alldanstevenson is a name known to all
 



Originally Posted by Rowan W
It's simpler than simple.
????: NamePros.com http://www.namepros.com/web-design-discussion/87180-best-way-have-content-scroll-inside.html

Create a div for the content like this:

Code:
<div style="overflow: auto; height:300px; width:100%;">
<p> Content Content Content Content</p>
</div>
That should work.
text areas are ugly stick with this one
danstevenson is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML page inside a table benc811 Programming 19 04-23-2005 03:40 PM
loading content in a cell catas49 Web Design Discussion 3 01-27-2005 08:52 AM
layout table border w/o cell inside having same border tns123j Web Design Discussion 2 12-26-2004 05:14 PM
FreeCellTelephones.com wot Domain Appraisals 16 12-09-2004 07:00 PM
Scrolling Within a Cell of a Table smashin Programming 5 10-02-2004 02:11 PM

 
All times are GMT -7. The time now is 07:25 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger