html - Button to Image Button -
html - Button to Image Button -
i have dropdown menu can take location, click on go button, direct page,
this buttons code in html:
<input type="button" name="button" class="gobutton" onclick="opendir(this.form);"> and part in css
.gobutton{background-color: url (../images/go.jpg); width:150px; height:50px; padding:0; border:0;}
problem have is not changing button image, blank.
jsbin demo
background-color notbackground-image also remove space between url , ( .gobutton{ background: url(../images/go.jpg); /* or utilize background-image */ width:150px; height:50px; padding:0; border:0; }
html image button
Comments
Post a Comment