youwh Posted October 16, 2006 Share Posted October 16, 2006 i hav a table height with 100% seperated into 3 row. top and bottom with 100px heihgt. but middle free size.the codes work well in firefox. but in ie it didnt. how can i fix the problem :s done many research on the height thingy problem. but seems like ie6 jus doesnt understand the code.see the code for a better understanding of my problem. TQ[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>Untitled Document</title><style type="text/css"><!--html,body{ margin: 0; padding: 0; border: none; font-family:arial,sans-serif; height:100%;}--></style></head><body><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="100" align="center" valign="top" bgcolor="#0099CC"> </td> </tr> <tr> <td bgcolor="#330099"> </td> </tr> <tr> <td height="100" bgcolor="#000000"> </td> </tr></table></body></html>[/code] Quote Link to comment Share on other sites More sharing options...
fenway Posted October 16, 2006 Share Posted October 16, 2006 What doesn't work about it? Quote Link to comment Share on other sites More sharing options...
anatak Posted October 19, 2006 Share Posted October 19, 2006 the only thing that may help you is that table does not have height for attribute<table height="100%">http://w3schools.com/tags/tag_table.aspI am not sure what do you want to do.Do you want a table with a minimum height ?If you put data in your middle cell<td bgcolor="#330099"> </td>doesn't your table expand ?kind regardsanatak Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.