Jump to content

Disabling Windows Theming Of Inputs


vafo
 Share

Recommended Posts

Is there a way to disable windows theming of html inputs?Example:

<input type="submit" name="telefonema" accesskey="q" value="			  Registar telefonema! (ALT-Q)" style="height: 50px; width: 230px; background-image: url(images/phone.png); background-repeat: no-repeat; background-position: 2px center" />

Windows XP Theme:96f30a6a94fc02f67931612a4aed695f.jpgWindows Classic Theme (the way I want it to look like): 4e72a199b25a7e17158d7e7fb5484e81.jpgAlso, why is the image not displayed in Windows XP Theme? :)

Link to comment
Share on other sites

You can give the input a border, background color and background image:

<input type="submit" name="telefonema" accesskey="q" value="Registar telefonema! (ALT-Q)" class="button" />

.button {  height: 50px;  border: 2px solid;  border-color: white #333333 #333333 white;  background-color: #CCCCCC;  background-image: url(images/phone.png);  background-repeat: no-repeat;  background-position: 2px center;  padding-left: 54px;}

Edited by Ingolme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...