im working on a site and im testing in firefox and IE, one problem i come into is the center aligning classes in IE how can i use one css file for both browsers without any issues
hi, im using earlier version than ie7, just wanted the website to center align without messing around with crap, but i guess this sort of thing just aint simple lol cheers for the help
Sometimes using one file isn't always viable based on specific designs. There are ways to do it, but sometimes it will just not work out. If you can't figure it out you can use conditional comments. What this does is includes a different .css file based on what browser it detects, for example. You'll need two files, but it will choose which one to use automatically. This way you can have your site working in both IE and other browsers by fixing the problem in a second file: http://www.quirksmode.org/css/condcom.html