hi, does anyone knows a workaround on this: I have this code, but the syntax is deprecated already. what i want is to display the whole length of the table.. but if i keep adding contents to the table i need to increase the height value.. i'm doing the wrong thing..but it displays fine in IE7.. but is there any work around on this.. please help.. thank you..
font : normal normal normal 95%/1.4 Verdana, Arial, sans-serif;
height : auto;
min-height : 600px;
margin : 0;
padding : 0;
text-align : center;
width : auto; }
body {
background-color : #f0f0f0;
color : #506070; }
table {
border : none;
border-collapse : collapse;
height : inherit;
min-height : 600px;
width : 100% !important; }
td, tr {
border : none;
padding : 0; }
td {
width : 100% !important;
vertical-align : middle !important; }
div {
border : none;
margin : 0;
padding : 0; }
div#main {
margin : 0 auto;
clear : both;
height : inherit;
min-height : 600px;
width : 100%; }
div#MyDiv {
margin : 0 auto;
height : 200px !important;
min-height : 200px;
max-height : 201px;
min-width : 400px;
max-width : 401px;
width : 400px !important; }
div#MyDiv div.tube {
background-color : #f7f7f7;
border : 1px solid #ccc;
padding : 1em;
height : inherit;
text-align : center;
overflow: hidden; }
/* ]]> */
</style>
</head>
<body>
<divid="main">
<tableid="myTable"frame="void"rules="none"summary="Controlling table layout in CSS">
<tr><td>
<divid="MyDiv"><divclass="tube">text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </div></div></td></tr>
</table>
</div>
</body>
</html>
hope it helps...
Last edited by essential; Jun 5th, 2009 at 6:39 am.
Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.
This thread is more than three months old
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.