Firefox not displaying website properly?



               

               2.0.0.6 for Windows,Mac,Linux

Question:I recently coded a website template.
Now, it displays properly in Internet Explorer, yet in firefox, there are display issues (such as, the "top-margin:" code is not always working properly) etc.
Does anyone know of a way of coding the page so that it displays the page the same way in FireFox or Internet Explorer?

Thanks!


because IE7 is better than firefox go to this site to see it

http://internet-browser-review.toptenrev...
maybe try the "refresh" button
Firefox is not displaying it wrong, IE is. You see, Firefox is standards-compliant, which means it follows all the internet coding rules. However, Internet Explorer is not standards-compliant. It renders web pages in what web designers call "Quirks Mode", meaning that it interprets set style rules incorrectly. In order for your page to look the same in both browsers, you need to use some ugly coding called CSS hacks. Google... erm, Yahoo! the term to find out what they are and how to use them.
Same with me, seems that some web/internet stuff dont function properly on firefox, maybe its that this template is only suitable to be viewed/used on IE.
You may need to mess with the doc-type to make it come out better. Try this on your top line:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/tr/html4/loose.dtd">...

If that doesn't work, you likely will have to mess with the .css. For some reason, Firefox particularly doesn't like padding or margins if you are using tables. Add this into the top of your syles page:
* {
padding: 0;
margin: 0;
}

You might need to go in and add a few spaces, but it will ultimely show up better in Firefox. Side note: Firefox seems to like text centered best for some reason.

More FireFox Questions & Answers...
  • Problems with FIREFOX?
  • How to increase Firefox loading rate ?
  • Default browser firefox but msn instant messenger opens as Internet explorer... why? how can i fix that?
  • Everytime I download firefox on Vista it works for a bit then crashes when i Start it up again?
  • How come text doesn't render correctly when I use Firefox on my mac?
  • Firefox Extensions?
  • Speed up downloads in firefox 2.0?
  • How can I change the spellcheck in Firefox to UK English?
  • Need media player plug-in for firefox. old system win. 98, wont accept media player 11?
  • A new version of Netscaepe Navigator was just out and its based on firefox 2 are you people using it?
  • This article contents is create by this website user, FireFoxAnswer.com doesn't promise its accuracy.