cdoggg94 Posted March 7, 2013 Share Posted March 7, 2013 I have this table: <!--the css for the div its in is here--> <style type="text/css"> #conServices{ position: absolute; height: 160px; width: 433px; top: 562px; left: 36px; } </style> <!-- end of style --> <div id="conServices" align="center"> <table width="421" height="207" border="0"> <!--<tr> <td align="center"><span style="font-weight:bold; font-size:20px;">OUR SERVICES</span></td> <tr>--> <tr> <td align="center"><span style="font-weight:normal; font-size:17px;">GENERAL BUSINESS CONSULTATION</span></td> <tr> <tr> <td align="center"><span style="font-weight:normal; font-size:17px;">STRATEGIC PLANNING</span></td> <tr> <tr> <td align="center"><span style="font-weight:normal; font-size:17px;">BUSINESS START UP PLANS</span></td> <tr> <tr> <td align="center"><span style="font-weight:normal; font-size:17px;">BUSINESS DOCUMENTATION FLOW</span></td> <tr> <tr> <td align="center"><span style="font-weight:normal; font-size:17px;">INTERNET BASED PROJECTS</span></td> <tr> </table> </div> for some reason there is a ton of space on top and below the actual content...(see attached image) Can anyone think of why ? Quote Link to comment https://forums.phpfreaks.com/topic/275372-table-spacing/ Share on other sites More sharing options...
cdoggg94 Posted March 7, 2013 Author Share Posted March 7, 2013 i thought maybe its because i didn't close the <tr> so i did (don't know how i missed that..) but it didn't really do anything. Quote Link to comment https://forums.phpfreaks.com/topic/275372-table-spacing/#findComment-1417236 Share on other sites More sharing options...
Solution cdoggg94 Posted March 7, 2013 Author Solution Share Posted March 7, 2013 Actually, I got it...I had to change the height of the <td> Why would that be ? By default, shouldn't it be the height of the content ? Quote Link to comment https://forums.phpfreaks.com/topic/275372-table-spacing/#findComment-1417237 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.