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...