macuser777
asked on
change background color submit buttons.
Hi,
I want to change the background color of 2 types of submit button...code might be the same but don't want to ask twice.
<input name="submit" type="submit" align="absmiddle" style=";text-align:center" onClick="this.form.keyword s.value = this.form.search.value; this.form.action = 'http://www.domain.com/searchq.php';" value="health">
and
<button type="submit" name="submit" align="absmiddle">Search in Open Directory <b><?=$disp layOnlyInC at?></b>&n bsp;Catego ry</button >
I want to change the background color of 2 types of submit button...code might be the same but don't want to ask twice.
<input name="submit" type="submit" align="absmiddle" style=";text-align:center"
and
<button type="submit" name="submit" align="absmiddle">Search in Open Directory <b><?=$disp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also , just for your info, you can assign a background image:
style="background-image: url(marble.gif) "
More information about background properties of elements can be found here:
http://www.w3schools.com/css/css_background.asp
style="background-image: url(marble.gif) "
More information about background properties of elements can be found here:
http://www.w3schools.com/css/css_background.asp
ASKER
... I may have found a roundabout is messy way of dealing with browser problems using td's and br's....
ASKER
!!!!
sorry that message was meant to come after 1 thought i'd posted abiut an hour ago saying thatnk's very much but that I was aslo having some allignment problems..... when I post in old look It often cuts off my message of jusy doesn't accept it all now as well it seems.
Sorry, CobolDinisaur...your solution was perfect...I was just having a couple of usual mac problems which there is no need to go into again now as I have found a way around.
Thanks
macuser
sorry that message was meant to come after 1 thought i'd posted abiut an hour ago saying thatnk's very much but that I was aslo having some allignment problems..... when I post in old look It often cuts off my message of jusy doesn't accept it all now as well it seems.
Sorry, CobolDinisaur...your solution was perfect...I was just having a couple of usual mac problems which there is no need to go into again now as I have found a way around.
Thanks
macuser
Glad we could help. Thanks for the A. :^)
Cd&
Cd&
<a href="javascript:document.