Vic
12-26-2005, 04:30 AM
I have a table that stretches the widht of the screen and has multiple cells. I am trying to place in one cell content that may potentially overflow the dimensions of the cell.
If I put OVERFLOW: hidden in the style of the cell, the cell ignores this and stretches to the dimensions of the content.
I tried putting a <div style='POSITION: absolute; LEFT: 0px; TOP: 0px; WIDTH: 100%; HEIGHT: 100%; OVERFLOW: hidden'> tag around the cell content, and it works pefectly well in IE, but fails in Mozilla (IE inteprets HEIGHT: 100% in relation to the height of the cell, whereas Mozilla inteprets it in relation to the entire screen - why???).
Could someone advise how to achieve this - apparently not so simple - task?
Thanks in advance...
If I put OVERFLOW: hidden in the style of the cell, the cell ignores this and stretches to the dimensions of the content.
I tried putting a <div style='POSITION: absolute; LEFT: 0px; TOP: 0px; WIDTH: 100%; HEIGHT: 100%; OVERFLOW: hidden'> tag around the cell content, and it works pefectly well in IE, but fails in Mozilla (IE inteprets HEIGHT: 100% in relation to the height of the cell, whereas Mozilla inteprets it in relation to the entire screen - why???).
Could someone advise how to achieve this - apparently not so simple - task?
Thanks in advance...