Jodha Posted January 29, 2009 Share Posted January 29, 2009 Hi, sorry if this is inappropriate to ask here, shoot me down if so I am using "echo" to display a table if which the left column MUST be 200 pixels wide, and no more for proper presentation. In my code I have: echo "<tr> <td width ='200' align='left' valign='top'>"; include(.....); echo "</td> <td>"; include(.....); echo "</td> </tr>"; (please excuse silly typos - reading from laptop and posting from desktop compys, plus food has just been dished up! In Firefox the left column width is 100% perfect In IE the column width seems to be ignored, and the browser just does what it wants, something its most of the page wide, sometimes just some. Does anybody know why IE behaves inconsistently and is there a trick to make it perform like Firefox? Cheers me mateys Quote Link to comment https://forums.phpfreaks.com/topic/143011-column-widths-on-echoed-tables-firefox-and-ie-differences/ Share on other sites More sharing options...
DeanWhitehouse Posted January 29, 2009 Share Posted January 29, 2009 Yes, this is the wrong forum, IE has always been known to cause problems with websites. Quote Link to comment https://forums.phpfreaks.com/topic/143011-column-widths-on-echoed-tables-firefox-and-ie-differences/#findComment-749903 Share on other sites More sharing options...
Jodha Posted January 29, 2009 Author Share Posted January 29, 2009 I thought so, my apologies there. Haven't had such probs to this degree with column widths when the page is HTML, so just thought there might be a little PHP trick involved there Maybe IE should be taken out Fight Club style, I figure this must be one of the most annoying aspects of webdev - your site looks cool on all browsers but the browser which happens to be shipped with the most used OS. Dam them MicroSoft peeps (sorry if thats you!) Quote Link to comment https://forums.phpfreaks.com/topic/143011-column-widths-on-echoed-tables-firefox-and-ie-differences/#findComment-749920 Share on other sites More sharing options...
Jodha Posted January 29, 2009 Author Share Posted January 29, 2009 By the way Blade280891, sorry to be pedantic but in your signature it should be: "the other 0.1% means you asked the wrong question" You are out be one decimal point Quote Link to comment https://forums.phpfreaks.com/topic/143011-column-widths-on-echoed-tables-firefox-and-ie-differences/#findComment-749924 Share on other sites More sharing options...
DeanWhitehouse Posted January 29, 2009 Share Posted January 29, 2009 Lol, thanks, btw look at using CSS for widths Also placing a star in front of something in CSS will make it only for IE Quote Link to comment https://forums.phpfreaks.com/topic/143011-column-widths-on-echoed-tables-firefox-and-ie-differences/#findComment-749936 Share on other sites More sharing options...
Jodha Posted January 29, 2009 Author Share Posted January 29, 2009 Hmmmm, handy tip. Good to see your sig amended too Quote Link to comment https://forums.phpfreaks.com/topic/143011-column-widths-on-echoed-tables-firefox-and-ie-differences/#findComment-749950 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.