View Full Version : How to make compatibale a css design for all the browsers?
kitson
03-13-2012, 08:04 AM
I made a web page with HTML and PHP and design it with CSS. When I open this webpage in Mozill aFirefox, it works as I designed but when I open it in Internet Explorer, the design of page does not according to the settings I designed in CSS file. How to fix it?
ankush
03-13-2012, 11:06 AM
show your code
keyboard
03-14-2012, 05:14 AM
This is a very general question and we will need more information to help you.
Please post a link to your site with the problematic pages or if this is not possible, the code for the pages you're having trouble with.
Anuradha Chawla
03-17-2012, 06:14 AM
To deal with such situation, have separate stylesheet for IE and Firefox and you can prompt the browser to use the CSS compatible with it in HTML header.
keyboard
03-17-2012, 08:52 AM
While you can have separate css files for different browsers, wouldn't it be easier (and take up less space - marginal -) to just alter the code you already have to make it display the same in different browsers?
1. Design in a standards-compliant browser.
2. Test in other browsers.
3. Adapt.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.