Discuss Table Min Width! in the HTML Programming forum on Dev Shed. Table Min Width! HTML Programming forum covering discussions of HTML and XHTML, as well as HTML-related issues such as writing W3C Compliant code. Use HyperText Markup Language for building websites.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 64
Time spent in forums: 1 m
Reputation Power: 11
Table Min Width!
I need a table, width 85% of the screen, but never less than 500 pixels - hence the first row (the tsp.gif is a transparent pixel). I have three columns, left and right column have a fixed width, the center column fills the rest.
Now, this code...
...produces what I want in Netscape 4.6, but when I resize the IE 5 window, the table doesn't get as small as I need it (minimum 500 pixels), the minimum width is always 500 pixels PLUS the width of the left and the right column.
Any Ideas how to get this right?! Thanks a lot!
(Of course, I could put another table that defines the min. width around the one above, but I actually have one header table and one content table, and I want them separated to have something displayed before all the content is loaded.)
Posts: 1,157
Time spent in forums: 1 h 23 m 35 sec
Reputation Power: 35
When I tried it with your code, if you set the first and third <td> to a fixed width, they always occupied only that width, and the center one occupied the remaining width, up to the width of the outer table.