helpmeplease2 Posted August 28, 2007 Share Posted August 28, 2007 View this site in IE7 or FF than view it in Opera http://www.gameanyone.com/ Where images are in a tables TD by themselves it screws up in Opera, even though there the width is set for the TD. It looks fine in IE and FF, but Opera is giving me a headache. How can I fix this and still use tables? Quote Link to comment https://forums.phpfreaks.com/topic/66971-images-in-a-table-in-opera/ Share on other sites More sharing options...
ToonMariner Posted August 28, 2007 Share Posted August 28, 2007 Hmmmm This is a fantastic excuse to encourage you to NOT use tables for layout purposes - go away do a div/css layout using a decent DTD (like xhtml 1.1) and watch in wonder as the cross-browser consitency in rendering of your site sky rockets... Trawling through html is a tough job - I suspect you have a ghost td or an unclosed tag or something check out your page on the w3c validation service - make your site validate first - that may well solve problems - if it is still not quite right after that then get back on here. Quote Link to comment https://forums.phpfreaks.com/topic/66971-images-in-a-table-in-opera/#findComment-336038 Share on other sites More sharing options...
helpmeplease2 Posted August 29, 2007 Author Share Posted August 29, 2007 I am still using tables, but I added a div within a td and that fixed it. Quote Link to comment https://forums.phpfreaks.com/topic/66971-images-in-a-table-in-opera/#findComment-336825 Share on other sites More sharing options...
ToonMariner Posted August 29, 2007 Share Posted August 29, 2007 did you look at the validation report?? IMO adding a div would hardly 'fix' it. You need to produce at least some valid html simply to give yourself confidence in any future development of the site not making it go boobies up. Quote Link to comment https://forums.phpfreaks.com/topic/66971-images-in-a-table-in-opera/#findComment-337094 Share on other sites More sharing options...
Crew-Portal Posted August 30, 2007 Share Posted August 30, 2007 Dont listen to him! Tables can do alot! Check out my site www.cmxva.com Its run mostly on tables with one div tag and it looks great. Best advice put a table inside a table and put all other tables inside that one! Quote Link to comment https://forums.phpfreaks.com/topic/66971-images-in-a-table-in-opera/#findComment-337520 Share on other sites More sharing options...
ToonMariner Posted August 30, 2007 Share Posted August 30, 2007 PMSL!!! Tables can indeed do alsorts - like quadruple the amount of html you need to for a page. I have yet to see ANYTHING that can only be done in tables that can't be done with a good css/div based layout. There are too many reasons to list as to why you should use divs/css instead of tables to construct your pages. SOOOOOOOOOO Do listen - if not to me then the whole PROFESSIONAL web developemnt community, the W3C, the Web Standards Project and the Accessibility brigade (a proud if insignificant 'member' of which I prfess to be). Quote Link to comment https://forums.phpfreaks.com/topic/66971-images-in-a-table-in-opera/#findComment-337617 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.