I don't have a sample offhand, but CSS allows you to specify what happens when the data overflows the div. I think, if you specify the height of the div but not the width, it should expand width-wise to accommodate the table inside, and allow for vertical scrolling.
HTH. --Ben Cesana, Paolo wrote: > Hi Ben, > Well, the table is a standard html table so I guess I could. > The problem is I am not that familiar using advanced div and css and I > can't quite visualize your suggestion. > Could you formulate your technique with a sample? > > Tks/Rgds > > Paolo Cesana > Principal Software Engineer > > > > Eagle Global Logistics (EGL) > 1801 NW 82 AVE > Miami FL 33126 > Phone: (305) 594-0038 Ext 7326 > Fax: (305) 593-0431 > > Mailto: [EMAIL PROTECTED] > http://loginet.eaglegl.com > http://www.eaglegl.com > > "Electricity is not the result of a series of upgrades to the candle" > Auth. unknown > > > > -----Original Message----- > From: Ben Doom [mailto:[EMAIL PROTECTED] > Sent: Friday, August 19, 2005 10:32 AM > To: CF-Talk > Subject: Re: iframe with dynamic columns > > > Could you use a DIV and CSS instead of an iframe? Essentially, wrap the > table with the data in a DIV that's vertically scrollable, but not > horizontally scrollable? > > --Ben > > Paolo Cesana wrote: > >>Hi, >>I create a table with a dynamic list of column headers which in >>general will exceed the browser horizontal size. >> >>I then display the table's row contents within an iframe with the >>table header columns displayed statically just above the frame. The >>columns to toward the right end of the table will be accesses >>obviously by horizontal scrolling in the frame and the same would >>apply for the column headers except using the browser's horizontal >>scroll. This will make the headers and columns be out of sync and it >>will require the user to horizontally scroll twice while attempting to > > >>line up the columns in the frame to the headers above. Is there a >>solution whereby as the frame is horizontally scrolled the main page >>follows and keeps the headers lined up to the columns below? >> >>tks/Rgds >> >>__PC >> >> > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215770 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

