Hello Frndzzz i am new css. I am making webpage in css.i am making website in div...how to make different stylesheet for IE and otther browser.... Thanks with regards
1. Have a common CSS with properties and attributes <link href="css/screen.css" rel="stylesheet" type="text/css" media="screen" /> Code (markup): 2. Have conditional statement like below (for example, IE7) and specify only fixes on ie7.css which differs from common and need to specify for IE7 <!--[if IE 7]> <link rel="stylesheet" media="screen" href="css/ie7.css" media="screen""/> <![endif]--> Code (markup):
Hi.. you only need one set of CSS style sheets for your website, and those styles will work with every browser currently being used. This, as every webmaster soon finds out when he/she uses CSS, is a pipe dream. The modern browsers all have uneven levels of implementation of the CSS standards. As though this isn't bad enough, their implementations are often buggy - and they don't share the same bugs! And when you have solved that tricky bit, you find that your site has certain visitors (often your best customers) who, for various reasons, are using older browsers that have only rudimentary support for CSS. What most (if not all) CSS-using webmasters want is a way to specify that a certain style sheet is to be used by such and such a browser and not others, as well as to hide other style sheets from older browsers. Internet Explorer 7 contains a number of improvements to cascading style sheet (CSS) parsing and rendering over IE6. These improvements are aimed at improving the consistency of how Internet Explorer interprets cascading style sheets as recommended by the W3C in order that developers have a reliable set of functionality on which to rely.