Search This Blog

Monday, January 30, 2012

How to Fix IE6 ie7 ie 8 ie 9 using css


Welcome to designers blog  Here i have posted how to use the css property to fix  browser  issue in IE 6 IE7 and  IE8 and  Mozilla Firefox

    /* safari */
    padding: 14px 10px 25px 10px;            

   /* ie 6 only  */
    _padding-top: 5px;

    /* ie7 only */
    *padding: 10px 10px 25px 10px;            


 /* ie 8 only  */
    padding-top: 5px\0/ !important;

/* ie 9 only  */

#element {
    color: green\0/IE8+9; /* IE8+9  */
}
:root #element { color:pink \0/IE9; }  /* IE9 */


post this Css in document of HTML Not in style.css

/* firefox  */

<style type="text/css">
@-moz-document url-prefix()
{
 
.signin_field_txtbox
{

    width:273px;
    height:20px;
    margin:6px 5px 4px 5px;
    *margin:7px 5px 4px 5px;
    margin:8px 5px 4px 5px\0/;
    padding:0px;
    border:none;
    outline:none;
    background:none;
    }
</style>

No comments:

Post a Comment

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...