Web Programming: CSS Mengakali Submit Button

Pengen tombol <input type=”submit” ..

yang punya latar belakang ?

Begini caranya:)

Judulnya,. “The POwer of <label>

<label>
<input type=”submit” value=”Login” name=”loginbutton” id=”loginbutton” style=”float:right”/>
</label>

dengan css-nya:

.uisubmit input{
background:url(“images/login-button.jpg”) repeat-x scroll center top #1d3b77;
cursor:pointer;
color:#dcc239;

}

SEmoga bermanfaat🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s