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, 06:38 PM
Post
#2
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2006 Member No: 483,287 |
Not sure if you are still looking for an answer to this but...
You could use an iframe to do this, but then the content for the cell would need to be in a seperate HTML document. You would not need CSS for this. The code for this would be something like: CODE <iframe src="cellcontents.html" name="scrollablecell" scrolling="auto" align="top" width="300" height="300" marginwidth="0" marginheight="0" frameborder="0"></iframe> You could also use a DIV like so... CODE <style type="text/css"> .scroller { overflow: auto; width: 300px; height: 300px; } </style> CODE <td><div class="scrollingcell">Cell contents</div></td> Hope that helps! |
|
|
|
psychoteddy CSS and Tables Dec 31 2008, 06:05 PM
JosephCohen123 I tried and it didnt work. Its not possible. I wou... Jan 13 2009, 10:00 PM
theerinkal QUOTE(JosephCohen123 @ Jan 13 2009, 09:00... Jan 27 2009, 03:49 PM
Mikeplyts Hmmmm....try adding a height and overflow: auto; p... Feb 11 2009, 04:21 PM![]() ![]() |