I am using Firefox Browser to preview my Website and it is coming the way i want it, but when i preview it with Windows Browser is not previewing the way it should be like in Firefox.

How should i amend this problem.


2 answers


It looks the same to me in FireFox and IE8. What Windows browser are you using? It is not uncommon for styles to act differently with IE. Often conditional CSS needs to be applied to fix the issues.

Answered over 8 years ago by Artistic Abode

I can see some diffences in IE7. Here's some tips.

  • Use the strict doctype
  • Use some CSS to reset defaults as different browsers have different defaults.

Sample template with the above implemented:

<!doctype html>
    <style type="text/css">
        html,body,h1,h2,h3,h4,h5,p,ul,li,form,button { margin:0; padding:0 }

    <!-- Your stuff here -->

Answered over 8 years ago by Moin Zaman