This is a discussion on "why smome sites don't work with IE or firefox?" within the JavaScript Forum section. This forum, and the thread "why smome sites don't work with IE or firefox? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
why smome sites don't work with IE or firefox?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
why smome sites don't work with IE or firefox?
Hi ,
I have a qauestion regrading to the difference betwenn IE and firefox some sites work fine with IE but have bugs with firefox , and the opposite happen also what i am asking how i can fix any bugs , and make any site to work with any browser?? can any one help in this !!! Thanks Nada |
|
|
|
#2
|
|||
|
|||
|
Re: why smome sites don't work with IE or firefox?
It depends, there are different problems for different browsers... They're are specific hacks, IE only stylesheets etc.
The most common problems occur with the box model. Every site can work in both browsers, you just have to stick with it.. teething problems and bugs can be a pain... but you'll find the answers eventually. As a general rule of thumb, i'd reccomend everytime you start a stylesheet to reset the browser defaults (because these differ between browsers, and cause common problems). |
|
#3
|
|||
|
|||
|
Re: why smome sites don't work with IE or firefox?
Thanks for answered me ,
Is that mean most of problems comes from Css. But my question is how i can guess what the reasons for the bugs ?? |
|
#4
|
|||
|
|||
|
Re: why smome sites don't work with IE or firefox?
There are standards for the browser companies to follow so that everybody can be on the same page when it comes to how the browsers interpret HTML, CSS and Javascript. Because Microsoft has so many of their web development tools tied into each other it makes them very reluctant to apply themselves to newer specifications. Explorer 7 made great strides where CSS is concerned (before that they were like a decade behind mozilla on some aspects of standards compliance) and will likely be as close to compliant as anybody has been when it comes to CSS on Explorer 8.
They aren't doing jack about their Javascript problems, however, so if you don't bother to test your JS code, it's a pretty good bet it will break on the other browser, especially if you're getting into in-depth DOM-scripting type stuff. When building a deeper ap for the web, you're pretty much building one for Explorer and another one for everybody else. There's a reason a lot of web designers and developers aren't big fans of Microsoft. The only way to deal with the differences between the browsers is to fork your code, build your own library full of functions and objects that fix common problems so you don't have to deal with them twice, or learn JQuery or some other popular JS library where that's all been done for you. Last edited by Pherdnut; Jun 15th, 2008 at 22:32. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Links not working in IE but work in FireFox/Safari | skuliaxe | Web Page Design | 2 | Mar 17th, 2008 15:52 |
| javascript working fine in IE but cannot work in Firefox | web20tester | JavaScript Forum | 0 | May 21st, 2007 17:37 |
| Javascript Navigation Will Not Work With Firefox | cpando1974 | JavaScript Forum | 2 | Apr 1st, 2007 14:56 |
| Background height problem in FireFox but work in IE | EthanCote | Web Page Design | 6 | Mar 16th, 2007 22:59 |
| colspan doesnt work in IE but does in firefox | helen_166 | Web Page Design | 0 | Nov 17th, 2005 14:38 |