nick_whitmarsh Posted June 8, 2007 Share Posted June 8, 2007 Hey guys. I have a table which adds rows everytime a new record is added to database. All works fine, however when the table gets too large, the table keeps going but the container div does not expand with it. Cheers for any help. HTML CODE <table width="475" border="1" frame="above" rules="none" bordercolor="#FF00FF" > <tr> <td width="75" rowspan="2" align="left" valign="top"><img src="pictures/nick.jpg" width = "75" height = "70" border="0" align="top" /></td> <td bgcolor="#F3F3F3" width="384" ><?php echo $row3['email']?> <i>wrote</i> @ <?php echo $orgdate?></td> </tr> <tr > <td width="384"><?php echo $row3['comment']?><br /> <?php if($you != $sessionpid ) { ?><a href="delete-message.php">wall-to-wall</a> - <a href="comment.php">comment</a> - <a href="message.php">message</a></td><?php } else {?> <a href="delete-message.php">wall-to-wall</a> - <a href ="deletecomment2.php?CID=<?php echo $row3['cid'];?>&PID=<?php echo $pid?>">delete</a> - <a href="comment.php">comment</a> - <a href="message.php">message</a></td> <?php } ?> </td> </tr> </table> CSS CODE #mc-holder { position:relative; padding-top:10px; border: solid #EAEAEA 1px; margin: 0px auto; width:500px; min-height:320px; height:auto; overflow:auto; } #mc1 { float:right; /*border-bottom:solid #CCCCCC 1px;*/ border-left:solid #CCCCCC 1px; } #container { margin: 0px auto; width: 772px; top: 10px; min-height:550px; height:auto; background-color:#FFFFFF; padding:0px; position: relative; } Quote Link to comment https://forums.phpfreaks.com/topic/54805-table-overlap/ 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.