Sunday, June 24, 2012

apply browserwise css

.top_search {
margin-top:-11px;
* margin-top:-2px;          ////////for IE 7
margin-left:95px;
/*width:170px;*/
width:107px;
padding-left:10px;
background:transparent;
border:0px;

}
///// this is for google chrome css /////////////
@media screen and (-webkit-min-device-pixel-ratio:0) {
.top_search
{
    margin-top:-13px;
}
}


input[type='submit'].top_submit {
margin:-12px 0 0 ;
margin-left:-5px \9; /////////////this is for IE 8///////////
margin-top:-2px \9;
padding:0px;
border:none;
outline:none;
background:transparent url(../images/search_submit.png) no-repeat scroll center top;
width:18px;
height:18px;position:absolute;
}

No comments:

Post a Comment

Please mention your comments.......