Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Add Resoluion Specific Media CSS

Add The follwing Code to Css file include the Class in that
you can change min & max width as per requirement.

@media screen and (min-width: 1100px) and (max-width:1300px)
{
         .abc
         {

          }
            #xyz
           {

            }
}
Read More »

How to Apply IE Specific CSS in ASP.net Application

First add the following meta tags on master page or content page ,where we are using particular CSS class.

 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

 <!--[if IE 8 ]> <html class="ie8"> <![endif]-->

For eg. Class abc 

And in CSS file write class as follows
And write browser specific properties in this class.

.ie8 .abc
{

//class style here

}
Read More »