text box bgcolors???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick B

    text box bgcolors???

    Why do some HTML text boxes have a yellow bacground color and others not? I have several pages
    written using PHP in which I can not find any difference in the HTML code, yet some of the boxes
    have a white bgcolor and the others are yellow?

    Thanks,

    Rick

  • Dennis Biletsky

    #2
    Re: text box bgcolors???

    bgcolor can be set by CSS, so if you use CSS class for some textbox bgcolor
    can be differ than default one
    "Rick B" <rick@excel_new sgroup.com> ???????/???????? ? ???????? ?????????:
    news:XyKac.1493 25$1p.1901933@a ttbi_s54...[color=blue]
    > Why do some HTML text boxes have a yellow bacground color and others not?[/color]
    I have several pages[color=blue]
    > written using PHP in which I can not find any difference in the HTML code,[/color]
    yet some of the boxes[color=blue]
    > have a white bgcolor and the others are yellow?
    >
    > Thanks,
    >
    > Rick
    >[/color]


    Comment

    • Markus Ernst

      #3
      Re: text box bgcolors???

      "Rick B" <rick@excel_new sgroup.com> schrieb im Newsbeitrag
      news:XyKac.1493 25$1p.1901933@a ttbi_s54...[color=blue]
      > Why do some HTML text boxes have a yellow bacground color and others not?[/color]
      I have several pages[color=blue]
      > written using PHP in which I can not find any difference in the HTML code,[/color]
      yet some of the boxes[color=blue]
      > have a white bgcolor and the others are yellow?
      >[/color]

      The Google toolbar seems to color form fields yellow if it thinks it could
      fill them in for you. You can disable that in the Google toolbar itself,
      there is no way to disable it in your website.

      HTH
      Markus


      Comment

      • Justin Koivisto

        #4
        Re: text box bgcolors???

        Rick B wrote:
        [color=blue]
        > Why do some HTML text boxes have a yellow bacground color and others
        > not? I have several pages written using PHP in which I can not find any
        > difference in the HTML code, yet some of the boxes have a white bgcolor
        > and the others are yellow?[/color]

        Sounds like you are using MSIE. Take a look with Mozilla - they aren't
        likely to be colored. What is happening is that the browser (or
        something installed with it) is recognizing those fields as something
        that it could fill in for you.

        --
        Justin Koivisto - spam@koivi.com
        PHP POSTERS: Please use comp.lang.php for PHP related questions,
        alt.php* groups are not recommended.
        SEO Competition League: http://seo.koivi.com/

        Comment

        Working...