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.

Thanks

2 answers

0
points

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 almost 6 years ago by Artistic Abode
0
points

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>
<html>
<head>
    <title></title>
    <style type="text/css">
        html,body,h1,h2,h3,h4,h5,p,ul,li,form,button { margin:0; padding:0 }
    </style>
</head>
<body>

    <!-- Your stuff here -->

</body>
</html>
Answered almost 6 years ago by Moin Zaman