View Full Version : form bgcolor

08-23-2007, 06:12 PM
Hi All,

I have two strange problems with this form.

1. My image has a border and I've tried every combination that I know of to get ride of the border around the submit and reset image buttons

2. in IE certain cells in the form show up in different colors (yellow and grey). I'm trying to make all the input cells one color (in Firefox they are all consistent)




08-23-2007, 06:27 PM
This is more a matter of HTML and CSS and not PHP then, right?

08-23-2007, 07:04 PM
It looks to me like you're telling it have a border:

input,select,textarea {
font-family: Verdana, Arial, sans-serif;
font-size: 10pt;
color: #000000;
border:1px solid #000000;

You'll have to do an inline change to alter your buttons:

<td brdrcolor="#ffffff" rowspan="2" colspan="2"><input name="submit" type="image" src="slices/asc_contacthalf_r11_c5.jpg" style="border:0px;" /></td>
<td rowspan="2" colspan="2" border="0"><input name="reset" type="image" src="slices/asc_contacthalf_r11_c7.jpg" onClick="doReset()" style="border:0px;" /></td>


That color thing is a function of your browser settings. The yellow means that your browser can
remember those text boxes for next time (usually name, password, email). You can turn-off that
function. Not everyone sees the yellow boxes (depending on their preferences).