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 */
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>
/* 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
/IE
8
+
9
;
/* IE8+9 */
}
:root #element {
color
:pink \
0
/IE
9
; }
/* 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>