Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tables - Max/Min Width and Height

Status
Not open for further replies.

jward

MIS
Dec 21, 2000
57
US
Is there a way in HTML to set maximum and minimum width and
height of tables? I want to have my table centered and if the user has 640x480, 800x600 or 1024x768 the page fills the screen, if their resolution goes beyond the 1024x768 the table will be centered and there will be space on all 4 sides of the table.
 
I don't know about the maximun ( can be done, but wouldn't be pretty) but you can set a percentage amount for the table.

width="95%"

As for the height, well it works in some browsers to do the same thing, but It's not in the official spec (last time I looked) so won't be reliable. Dean Owen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top