I am in college and finished my first year. I want to continue web applications as a hobby. I created a live web application with MS Visual Studio 2010, but I know that I need to make it compatible with other browsers.
I understand that I need to test it in other browsers and see the inconsistencies that have occurred, but how to fix them. My teacher says I need CSS code for each browser, but how do I do this?
Thanks in advance for your help.
CSS reset . , , CSS .
, CSS
, , . , , 99% , , -. IE ( "-" , IE.
, :
( IE), , ( ), -. html. " CSS" HTML, -.
, , :
http://dowebsitesneedtolookexactlythesameineverybrowser.com/
, , - CSS Google Chrome. Firefox 4. , , , CSS , , , .
IE. , , IE6. . . , IE9 IE8? IE9, - , , . IE8, CSS , , IE. :
<head> <link rel="stylesheet" type="text/css" href="your-main-style.css" /> <!--[if lte IE 8]> <link rel="stylesheet" type="text/css" href="ie8-and-down.css" /> <![endif]--> </head>
, , . , .
, , , , , , . , , .
IE .
, , -moz-, -webkit- .. -IE , (x) html, , , .
-moz-
-webkit-
/: http://css-tricks.com/how-to-create-an-ie-only-stylesheet/