You could also add overflow to the container div's style. See http://www.w3schools.com/Css/pr_pos_overflow.asp
It might be easier than working with more js. On Jun 17, 9:03 am, michael <michael.howl...@gmail.com> wrote: > Hello all, > > Is there a plugin somewhere that will allow a table to horizontally > scroll within a set width? I could swear I saw this once but can't > find it now. Basically I'm looking for an Excel-like setup. I have a > div that's 990px wide and need to constrain a table within that to > keep from going off and having the whole thing scroll horizontally. > Bonus points for freezing one or more columns on the left. Has anyone > seen this or could anyone provide me with some pointers on getting it > done myself?