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.
I can only get the overflow to hide if I set the width to px rather than 90%.
Is there a way to do it with percentages?
EDIT
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.
EDIT
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.