Chris Taylor wrote:
I'm trying to get a very wide table to appear inside a DIV and scroll
horizontally, but not vertically. Take a look at
http://www.egton.net/yearview/index.html to see what I mean. What I
would like is for the calendar table to be horizontally scrollable
inside "Tapes due in - Year View" DIV. Eventually I'll be adding
additional information inside each days cell, so the DIV needs to be
able to resize vertically, yet not break in IE.
A quick solution - working, but need fine-tuning for your page.
Tested in Opera8, FF1.0 and IE6.
<div id="pane2" style="overflow: auto; margin: 0 0 0 10px; float: left;
width: 60%; _overflow-y: visible; _padding-bottom: 1em;">
This will auto-adjust no matter how much you put in there (within reason).
Note that your styles for #pane2 is still working. I'm just overriding
some of them. Clean up later... :-)
regards
Georg
--
http://www.gunlaug.no
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************