salvador2001 Posted November 5, 2006 Share Posted November 5, 2006 hello,I have created a table for my script and its divided in two parts.The left part shows a picture and the right part shows the variable of the script.Now i have the problem that underneath the picture a space is showing up wich i cant remove.The table should be tight around the picture.Can anybody tell me how to remove this space ? echo " <div align='left'> <table width='207' height='75' valign='top' border='1' cellpadding='0' cellspacing='0' bordercolor='#465461'> <tbody> <tr> <td colspan='1' width='50' style='text-align:left;font-weight:700;'> <img src='sc-1.gif' /> </td> <td style='text-align:center;font-weight:700;border-color:#2D3740;'>".$server_status."</td> </tr> </tbody> </table> </div>"; Link to comment https://forums.phpfreaks.com/topic/26248-space-in-table-how-to-remove-it/ Share on other sites More sharing options...
joshi_v Posted November 6, 2006 Share Posted November 6, 2006 It is showing space just because of your setting in table declaration.<table width='207' height='75' valign='top' border='1' cellpadding='0' cellspacing='0' bordercolor='#465461'> remove the height from the above line<table width='207' valign='top' border='1' cellpadding='0' cellspacing='0' bordercolor='#465461'> then try.if you want to specify the height..do it in <TR> tags.Regards,Joshi. Link to comment https://forums.phpfreaks.com/topic/26248-space-in-table-how-to-remove-it/#findComment-120287 Share on other sites More sharing options...
salvador2001 Posted November 6, 2006 Author Share Posted November 6, 2006 Thank you ! Link to comment https://forums.phpfreaks.com/topic/26248-space-in-table-how-to-remove-it/#findComment-120310 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.