| Posted by Adrienne on 06/08/05 05:11 
Gazing into my crystal ball I observed Marcus <JumpMan222@aol.com> writing in news:h3ppe.8542$XU5.8118@newssvr31.news.prodigy.com:
 
 > Hello,
 >
 > I am trying to display a large table of data in a div with scroll bars -
 > the table represents a daily schedule, and I would like to do this so
 > that the user can scroll around the table without the width affecting
 > how the rest of the page is displayed.
 >
 > Instead, I would like the table to just continue in the x and y
 > directions and display everything on 1 line per cell.  <snip>
 > I would like the table
 > width to be the minimum width necessary to display everything on 1 line.
 >
 > Here is my code for the scroll div:
 >
 > div.view_schedule { overflow: scroll; height: 400px; width: 700px;
 > border: 1px solid #000000; padding: 10px; }
 >
 
 div.view_schedule td {white-space:nowrap} will force the content to not
 word wrap
 
 
 --
 Adrienne Boswell
 http://www.cavalcade-of-coding.info
 Please respond to the group so others can share
  Navigation: [Reply to this message] |