PDA

View Full Version : button css error


mampwamp2
11-06-2012, 05:36 AM
<button id="edit-vote" class="Button form-submit" value="Vote" name="op" type="submit">


how to change to default button to my own button image?
i try add the css below but the button still have grey background on it.
http://i.imgur.com/1Vt10.jpg

#node-4195 #edit-vote{
margin-top:50px;
margin-bottom:20px;
background:url(../images/button.jpg) no-repeat;
text-indent:-9999px;
height:40px;
width:200px;
}

edbr
11-06-2012, 05:58 AM
try this

form input[type=submit] {
background : url(../images/button.jpg) no-repeat;
margin-top:50px;
margin-bottom:20px;
height :40px;
border : none;
color : transparent;
}

mampwamp2
11-07-2012, 05:14 AM
try this

form input[type=submit] {
background : url(../images/button.jpg) no-repeat;
margin-top:50px;
margin-bottom:20px;
height :40px;
border : none;
color : transparent;
}

thank..........