I just designed my website using CSS in Mozilla Firefox 18.0.2. It looked perfect but when I opened it on IE8, it's just a blank white page. Do I have to use different style sheets in CSS for different browsers?
Different Css for different browsers?
Hi Brenda Lopez,
This is a common problem experienced by most programmers. When you design your page using CSS it may work perfectly in Mozilla Firefox, Google Chrome, Safari among other browsers but will not work in different version of Internet Explorer.
To solve this, you need to code specific CSS code to be seen by the IE browser but ignored by the other browsers.
Please post the CSS code you used and I'll help you write code to design in Internet Explorer.
Thanks,
Ford Smithkings
Different Css for different browsers?
Hello Brenda,
Your problem is a simple one. You have not optimized your code with cross browser compatibility. Please add the this code at the top of the index.html page and all other HTML pages you are using:
<!DOCTYPE html> If you do not include this tag to your code Internet Explorer will not show the web page properly and many styling you have done will be ignored by Internet Explorer. Adding this line will fix your problem.
Thanks.