Forum Moderators: open
I would like to implement a table structure with a maximum and minimum width in the middle cell. And I would also like this to be cross browser. I have:
<table>
<tr>
<td width="180"></td>
<td></td>
<td width="200"></td>
</tr>
</table>
I would like the minimum width on the table to be 773px and the maximum to be 1000px this allowing for someone with their screen resolution set as low as 800x600 to be able to see it without having to scroll on their browser. Also with having the max width set it allows me to manage my site real-estate without allowing it to go pear shape on a 1280x1024 + screen res.
My current doctype is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
The css min-width in IE has known problems, and I would also like for this to work in IE5 at least. Would anyone know of or be as kind to share their trick for achieving this.
With thanks,
-Gs
The script I tried used a whole bunch of js - and caused flicker on page change. I slung it, and live with a fully fluid layout - relying on layout to stop grossly excessive line length.
When IE7 takes over, this should be less of a problem. Although I use Firefox as my default browser, I don't like my sites to be have differently in that from how they behave in the current, principally-used, version of IE. So, at present, max-width is out for me.
[webmasterworld.com...]