title: Can I set width of 90% with overflow hidden
body: <p>We have a div where we would like the width to be dynamic in the sense of say, 90 percent, of screen size.  If the contents of the div will overflow we would like to hide the overflow.</p>
  
  <p>I can only get the overflow to hide if I set the width to px rather than 90%.</p>
  
  <p>Is there a way to do it with percentages?</p>
  
  <p><B>EDIT</B></p>
  
  <p>The problem seems to be that the div is properly hiding but it is inside of a table TD and the TD is resizing itself to the div as if it were not hidden.</p>
  
  <p><B>EDIT</B></p>
  
  <p>It appears that when a div is in a table, the size of the TD is calculated by getting the full size of the DIV before the percentage width property is calculated. Once the TD is resided, the percentage width for the div is then calculated.</p>