CSS and Tables |
CSS and Tables |
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?
|
|
|
|
![]() |
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. |
|
|
|
Jan 27 2009, 03:49 PM
Post
#3
|
|
|
Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 |
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;} |
|
|
|
psychoteddy CSS and Tables Dec 31 2008, 06:05 PM
Emmi237 Not sure if you are still looking for an answer to... Jan 13 2009, 06:38 PM
Mikeplyts Hmmmm....try adding a height and overflow: auto; p... Feb 11 2009, 04:21 PM![]() ![]() |