View Full Version : OK in IE rubbish in Firefox
JohnL
04-26-2007, 11:02 PM
Hello all. I am sure that this has been done to the death but I designed a little web page that looks OK in IE but is vastly different in Firefox.
If I use the http://validator.w3.org/ to work out all of the mistakes (there are a lot) will it then display OK in Firefox?
I am a newb to all of this so I guess if there is a link that will guide me in the right direction, it would be very much appreciated.
The website is: www.evolvewebservices.com.au
Thanks
Len Whistler
04-27-2007, 12:06 AM
I design in Firefox and then check in IE and fix any problems. Could you be more specific about the problems you are having?
VIPStephan
04-27-2007, 12:15 AM
Hm, I’m wondering why you are asking at all because you’ve already got one of the important links (the validator). It seems kind of weird to me to ask if valid code will display OK in Firefox… that’s like asking if learning HTML will make me get better in creating websites. :D
OK, valid code doesn’t mean it’s automatically good code but seriously, making code valid is one of the basic things to find and fix errors so yes, please fix all your errors.
Another tip I can give you is: don’t use IE as primary browser to test your websites! You will have less problems if you use a modern, standards compliant browser (like Opera, Firefox, Camino, Konqueror, Safari) as first choice to test your pages. However, you should test your pages frequently in IE too because it’s a pain in the arse to track down errors that you might have made an hour ago.
Also semantic code (http://brainstormsandraves.com/articles/semantics/structure/) helps to get cross browser compliant websites. That means: Don’t use tables for layout! And also only use elements tht make sense, so: no empty or useless nested divs! Use elements wisely and those you chose should have a meaning. And at the end you can style these elements with CSS.
If you’re looking for links/sources, check out the web developers’ handbook (http://www.alvit.de/handbook/).
Good luck. :)
JohnL
04-27-2007, 12:21 AM
I design in Firefox and then check in IE and fix any problems. Could you be more specific about the problems you are having?
In IE the web displays as I intended it to but in Firefox the colours are all wrong, the images are not where they should be etc....they look like two completely different pages.
JohnL
04-27-2007, 12:24 AM
Stephan I hear what you are saying with me having access to the validator link.
As for not using tables for layout...you read differing opinions all the time on what to use and what not to use. I guess I need to work on the errors first and then attempt to fix the issues between the two browsers.
That link you provided is an cracker...thanks...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.