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 2 of 2
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,464
    Thanks
    15
    Thanked 0 Times in 0 Posts

    css changing color of text of input type of text

    I have

    .enteremaili{
    width:135px;
    float:left;
    background:#787562;
    border:none;
    color:#ffffff;
    height:18px;
    }

    and

    <input type=text name=email value="enter email" class=enteremaili>


    Now when i enter in text it's coming up white but the defualt text is not coming up at all.

  • #2
    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
    No such effect for me (IE6+FF).
    Do you have any Javascript code associated with it?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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