Easy Question:

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pathfinder
    theking of trailer parks
    • Sep 2001
    • 2290

    #1

    Easy Question:

    How do I change the color on this submit button?

    <input type=submit value="Search the Site">
  • hyper
    Confirmed User
    • Mar 2002
    • 5294

    #2
    easy answer

    <form>
    <input type="submit" style="background-color: #99cccc" value="Search the Site">
    </form>

    Comment

    • Pathfinder
      theking of trailer parks
      • Sep 2001
      • 2290

      #3
      Got it. Thanks.

      Comment

      • hyper
        Confirmed User
        • Mar 2002
        • 5294

        #4
        your welcome

        Comment

        • -=HUNGRYMAN=-
          Confirmed User
          • Jun 2001
          • 4753

          #5
          Hey hyper .... little tougher question

          <textarea name="textfield" cols="65">How do we change the background color and text color of this field ??</textarea>


          WTF ???
          I did not do that ... I am guessing that it is done with this pages CSS stlyes ???
          Last edited by -=HUNGRYMAN=-; 05-08-2002, 11:00 PM.

          Comment

          • hyper
            Confirmed User
            • Mar 2002
            • 5294

            #6
            <INPUT TYPE="text" SIZE="40" STYLE="background:pink" STYLE="color:purple" VALUE="HUNGRYMAN - Haven't you ever heard of css?">

            Comment

            • Amputate Your Head
              There can be only one
              • Aug 2001
              • 39075

              #7
              css rules..... I use hard code styling in my heads... but the result is the same.
              SIG TOO BIG

              Comment

              • SirTreX
                Confirmed User
                • Dec 2001
                • 514

                #8
                <select size="1" name="D1" style="background-color: #0000FF; color: #FFFFFF; font-family: Verdana; font-size: 10 px; font-weight: bold; border-style: dotted; border-color: #000000">
                <option>Hungryman has heard of css</option>
                <option>Hungryman has not heard of css</option>
                </select>

                Comment

                • Theo
                  HAL 9000
                  • May 2001
                  • 34515

                  #9
                  <INPUT TYPE="text" SIZE="80" STYLE="background:red" STYLE="color:white" VALUE="Equinox is GAY.....So what?? Mind your own business">

                  Comment

                  • hyper
                    Confirmed User
                    • Mar 2002
                    • 5294

                    #10
                    HUNGRYMAN Knows CSS <input type="radio" name="HUNGRYMAN Knows CSS" value="yes" style="background : teal; color: #cc99ff">
                    HUNGRYMAN Doesnt Know CSS <input type="radio" name="HUNGRYMAN Doesnt Know CSS" value="No" style="background : teal; color: #cc99ff">

                    Comment

                    • hyper
                      Confirmed User
                      • Mar 2002
                      • 5294

                      #11
                      Originally posted by Soul_Rebel
                      <INPUT TYPE="text" SIZE="80" STYLE="background:red" STYLE="color:white" VALUE="Equinox is GAY.....So what?? Mind your own business">
                      LOL

                      Comment

                      • Fizz
                        Registered User
                        • Apr 2002
                        • 33

                        #12
                        css is good thing if everybody uses IE 5 or better...

                        If your customer uses Netscape you'll be sooner or later big trouble...
                        Netscape Sucks good...

                        SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

                        Comment

                        • ServerGenius
                          Confirmed User
                          • Feb 2002
                          • 9377

                          #13
                          Originally posted by Fizz
                          css is good thing if everybody uses IE 5 or better...

                          If your customer uses Netscape you'll be sooner or later big trouble...
                          Netscape Sucks good...

                          Well a browser detection script is plain simple....and if you include CSS rather then putting it in the HTML itself it´s very easy to pick the correct style sheet for the approriate browser.....

                          DynaMite

                          If you want an example let me know...I use it all the time
                          | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

                          Comment

                          • ServerGenius
                            Confirmed User
                            • Feb 2002
                            • 9377

                            #14
                            $style = "netscape";

                            if(strstr($HTTP_USER_AGENT, "MSIE")){
                            $style = "style";
                            }


                            < link
                            rel = "stylesheet"
                            type = "text/css"
                            href = "<?=$style?>.css"
                            />

                            There you go!

                            DynaMite
                            | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

                            Comment

                            Working...