Forum Moderators: open
Here's the code:
<td>Column 1</td>
<td>Column 2</td>
<td style="width: 180px;"><div style="height: 100px; width: 180px; overflow: auto; border: 2px inset #a9a9a9;">The content that goes in here will almost always overflow the boundaries of this div.</div></td>
Any ideas, anyone? I need that fixed-width cell to STAY the fixed-width, regardless of what the other cells are doing. How can that be done, so it will work in IE?
Thanks,
Matthew
I even tried setting each of the cells to a fixed width, with the far right cell being 180. Even that didn't do it.
The thing is, I tried to force the fluid cells to expand to their full allotted width, by adding a long row of text to them. The idea was to make the fixed-width cell pushed over to its correct size. This didn't work either; the long line of text just wrapped in the fluid cell without forcing it any wider.
I've just about decided that IE won't do what I want it to do in this case. Just another example of how bad IE really is. (A year ago, I never would have believed I'd say that!)
But if anyone has any other ideas . . .
I'm using a strict doctype, and the browser is in standards-compliance mode.
<table width="100%">
<tr>
<td width="50%">some text</td>
<td width="50%">some text</td>
<td width="180px">fixed width<br>
<img src="http://....trasparent.gif" width="180px" height="1px" alt=" "></td>
</tr>
</table>