Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: form bgcolor

  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts

    form bgcolor

    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)

    http://omegaitm.securesites.net/ftp/...tact082207.php

    Thanks,

    Liberty

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    This is more a matter of HTML and CSS and not PHP then, right?

  • #3
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,471
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    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;
    background-color:#AFAEAE;
    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>


    EDIT:

    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).


    .
    Last edited by mlseim; 08-23-2007 at 06:09 PM.

  • Users who have thanked mlseim for this post:

    libertyonline (08-29-2007)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •