Log In · Register

 
CSS and Tables
psychoteddy
post Dec 31 2008, 06:05 PM
Post #1


Member
**

Group: Member
Posts: 17
Joined: Jul 2008
Member No: 670,133



Can I use CSS to make a cell in a table scrollable, if so what code should I use?
 
 
Start new topic
Replies
Maccabee
post Jan 13 2009, 10:00 PM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



I tried and it didnt work. Its not possible. I would suggest putting down tables and starting to use divs! Tables are not very proffesional.
The guy above showed a way but you could also just do this:
CODE
<div style="height:100px; overflow:auto;">Scrolling stuff here!</div>

It will only scroll if you put enough text though.And you can change the height by adjusting "height:100px;" in the code.
 
theerinkal
post Jan 27 2009, 03:49 PM
Post #3


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



QUOTE(JosephCohen123 @ Jan 13 2009, 09:00 PM) *
I tried and it didnt work. Its not possible. I would suggest putting down tables and starting to use divs! Tables are not very proffesional.
The guy above showed a way but you could also just do this:
CODE
<div style="height:100px; overflow:auto;">Scrolling stuff here!</div>

It will only scroll if you put enough text though.And you can change the height by adjusting "height:100px;" in the code.


I'd either use that or the good old textarea tag.
CODE

textarea {height: XXpx; width: XXpx;}
 

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: