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 13 of 13
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    95
    Thanks
    20
    Thanked 0 Times in 0 Posts

    Why are my text fields in different colors?

    I have added this code in my CSS file. I want to display my form's text field with a white background. I have two text fields on the same page but one is displayed in white, while the other is in yellow (in FF).

    what gives?

    Code:
    input[type=text], textarea { background-color: #ffffff; }

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    You don’t happen to have Google Toolbar installed, do you? Or any auto-form filler?

  • #3
    New Coder
    Join Date
    Apr 2008
    Posts
    95
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by CyanLight View Post
    You don’t happen to have Google Toolbar installed, do you? Or any auto-form filler?
    nope. none whatsoever

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    That’s weird. Looks like we’ll need a link.

  • #5
    New Coder
    Join Date
    Apr 2008
    Posts
    95
    Thanks
    20
    Thanked 0 Times in 0 Posts

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Two of them are in white for me in FF
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #7
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    both are white for me also, i cant tell of any problems.

    Nice layout by the way!

  • #8
    New Coder
    Join Date
    Apr 2008
    Posts
    95
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jcdevelopment View Post
    both are white for me also, i cant tell of any problems.

    Nice layout by the way!
    hmm thats strange. Are you guys using FF 2.0.0.14?

  • #9
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts
    Same with me, mabeys you have an autofil in disguise!!

    BTW, autofil yellow boxes work with IE and IE only. So I'm guessing JCDevelopment has FireFox
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype

  • #10
    New Coder
    Join Date
    Apr 2008
    Posts
    95
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by BabyJack View Post
    Same with me, mabeys you have an autofil in disguise!!

    BTW, autofil yellow boxes work with IE and IE only. So I'm guessing JCDevelopment has FireFox
    I just turned off the option, remember what I enter in forms and the search bar.

    But its still yellow!!
    Last edited by ksduded; 05-12-2008 at 05:17 PM.

  • #11
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by ksduded View Post
    I just turned off the option, remember what I enter in forms and the search bar.

    But its still yellow!!
    See the screen shot,
    No need to worry much, 100% of the end users tested so far have got white boxes.

    Hope you don't have a cached stylesheet having a specific rule for one of the element, otherwise just clear cache and refresh.
    Attached Thumbnails Attached Thumbnails Why are my text fields in different colors?-1.jpg  
    Last edited by abduraooft; 05-12-2008 at 05:23 PM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    ksduded (05-12-2008)

  • #12
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Quote Originally Posted by BabyJack View Post
    Same with me, mabeys you have an autofil in disguise!!

    BTW, autofil yellow boxes work with IE and IE only. So I'm guessing JCDevelopment has FireFox

    Actually i looked in all the browsers i have, including IE6, but i dont see anything.. i know i have no auto fill so it may very well be that!

  • Users who have thanked jcdevelopment for this post:

    ksduded (05-12-2008)

  • #13
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Quote Originally Posted by ksduded View Post
    I have added this code in my CSS file. I want to display my form's text field with a white background. I have two text fields on the same page but one is displayed in white, while the other is in yellow (in FF).

    what gives?

    Code:
    input[type=text], textarea { background-color: #ffffff; }
    To see if this issue is caused by an extension or plug‐in, I would try viewing the document in safe mode where they’re all disabled. You can do this by going to Start: All Programs: Mozilla Firefox: Mozilla Firefox (Safe Mode) in Windows XP. If the field ends up being white, then it would appear that this is your issue.

    To see what extensions you have installed, you can go to Tools: Add‐ons: Extensions (tab) from the Firefox main menu. To see what plug‐ins you have installed, you can go to the URI about:plugins via the address bar. Figure out which of these might be causing the issue and try uninstalling or reconfiguring them.

    You can also try forcing a hard refresh of the page by navigating to the page and pressing Ctrl+F5. A hard refresh makes it so that the refresh ignores the cache and re‐downloads all resources attached to the current document; it’s a convenient alternative if you don’t want to clear your entire cache.

    Quote Originally Posted by ksduded View Post
    Both fields have a white background in Firefox here.

    Quote Originally Posted by ksduded View Post
    hmm thats strange. Are you guys using FF 2.0.0.14?
    I am.

    Quote Originally Posted by ksduded View Post
    I just turned off the option, remember what I enter in forms and the search bar.
    That’s a native Firefox option that has nothing to do with the auto‐fill issue related to the Google Toolbar and other auto‐fill utilities.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • Users who have thanked Arbitrator for this post:

    ksduded (05-12-2008)


  •  

    Posting Permissions

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