chiefrokka Posted January 24, 2008 Share Posted January 24, 2008 Can someone please help me figure out why the first column of my table stretches but the rest don't? Here's a link to see what I'm talking about. http://www.phppicks.com/Demo_Squares/ if your web browser is larger than the table the first column gets stretched out and all messed up. It shows up perfect on my 1024x768 but for those with larger resolution or dual monitors you'll see what i mean. there's tons of code so I can't post it all but here's the beginning of it. I tried taking out the first "width="100%" but that didn't do anything. echo '<table width="100%" border="3" bordercolor="#0000FF" cellspacing="2" font size=\"3\">'; echo "<tr><td colspan='12' align='center' bgcolor='#D3E7FA'>Currently on Week <b><font color='#ff0000'>" .$Current_Week. "</b></font></td>"; echo "<tr><td colspan='12' align='center' bgcolor='#D3E7FA'><b>" .$Date. "</b></td>"; echo "<tr><td>"; // display Team1 icon going horizontal at top of chart for ($counter=0; $counter<=9; $counter++) { echo"<td align='center'>"; Display_NFL_Team_Icon($Team2); // call function echo "<br><b><font color='0000FF' align='center'></b>" .$Horizontal_Numbers[$counter]. ""; echo "</td>"; } echo "<tr>"; Quote Link to comment https://forums.phpfreaks.com/topic/87594-table-stretching/ Share on other sites More sharing options...
chiefrokka Posted January 29, 2008 Author Share Posted January 29, 2008 bump Quote Link to comment https://forums.phpfreaks.com/topic/87594-table-stretching/#findComment-452242 Share on other sites More sharing options...
kts Posted January 30, 2008 Share Posted January 30, 2008 you would need to define the width to a static number.. and it may not be exactly that table there may be one around it Quote Link to comment https://forums.phpfreaks.com/topic/87594-table-stretching/#findComment-453825 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.