Thursday, August 25, 2011

Button value fix in ie7(make by webcr3ator)

/*-------------------------Html Here-----------------------*/
<html>
<head>
<title>ProductiveDreams</title>
<link href=”style.css” rel=”stylesheet” type=”text/css”/>
</head>
<body>
<input type=”submit” value=”Submit” class=”button”>
</body>
</html>

/*---------------------------CSS Here-----------------------*/
input.button{

width:114px;

height:37px;

border: none;

background: transparent url(images/submit_btn.gif) no-repeat center;

overflow: hidden;

text-indent: -999px;

font-size: 0;
display:block;
line-height: 0;

}





No comments: