mozilla and opera compatibiliy issue | Newbie | | Join Date: Mar 2008
Posts: 23
| |
im hoping someone can help me here - my html/css seems to be perfectly compatible with internet explorer with no issues however the page breaks if viewed in opera or mozilla
can anyone help please? |  | Expert | | Join Date: Sep 2006
Posts: 5,580
| | | re: mozilla and opera compatibiliy issue
Never, ever use IE as a reference for how things should work. IE is the worst browser on the planet, 10 years behind web standards and incorrect in its implementation. Always use Firefox or Opera or Safari as your reference. Once your page works there, then you can hack IE to make it work. The many bugs are known, as are the hacks.
More later.
|  | Expert | | Join Date: Sep 2006
Posts: 5,580
| | | re: mozilla and opera compatibiliy issue
To continue:
So if you use a broken browser, which is IE, to design your page, and then expect modern browsers, such as Firefox and Opera, to perform the same way, well, you get what I'm saying. This is why you must use FF or Opera to create your page while checking to see when and where IE screws it up.
You also need to validate your html and css for those lists of errors that need correcting.
You didn't supply the complete markup. I only assumed you are using an xhtml doctype because you have some xhtml end tags, yet there are some errors in your markup that are html only.
Fix the errors, then get your page working in a modern browser, then we can help you fix IEs crap.
| | Newbie | | Join Date: Mar 2008
Posts: 23
| | | re: mozilla and opera compatibiliy issue
thank you very much for your replies and information.
I will try my best to validate the code and fix any html errors so I can test on opera or firefox.
I will post progress shortly..
| | Newbie | | Join Date: Mar 2008
Posts: 23
| | | re: mozilla and opera compatibiliy issue
okay iv run the html through a W3C markup validator and have fixed as many errors as possible. The only few remaining errors are contained within the ebay url to my feedbacks which is simply a URL so not sure what the problem is there?
as you guys may have noticed this is basically my ebay advert and therefore I cannot state the document type declaration otherwise the whole ebay page breaks and goes funny...
anyway the page is still not being displayed in mozilla, opera properly and im really stuck...can someone please help? amended code is below.. thanks in advance | | Newbie | | Join Date: Mar 2008
Posts: 23
| | | re: mozilla and opera compatibiliy issue
can someone please help...
|  | Expert | | Join Date: Sep 2006
Posts: 5,580
| | | re: mozilla and opera compatibiliy issue
I looked at one of those storefronts and it didn't have a doctype. This puts IE into quirks mode and you will never get modern markup to work in it. I cannot emphasize enough that you should never attempt to "fix" Mozilla or Opera but always "fix" IE. Mozilla and Opera will display what you write while IE, you don't always know what it will do.
The only thing you can do is adjust your markup to look the way you want in Mozilla/Opera so you know your markup is written correctly. Then we can help adjust for IEs multitude of bugs and quirks.
| | Newbie | | Join Date: Mar 2008
Posts: 23
| | | re: mozilla and opera compatibiliy issue
guys bless you all for your help!
you were all right - one should not test there web pages with i.e. I worked on my code whilst testing with mozilla and everything is fine.
thank you : )
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,537 network members.
|