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
  1. #1
    Regular Coder
    Join Date
    Apr 2010
    Posts
    216
    Thanks
    116
    Thanked 1 Time in 1 Post

    Attempting to style search box, search button image keeps being affected

    Resolved,
    Thanks
    Last edited by BlackReef; 08-14-2010 at 07:32 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    .pcForms input
    You need to use a more specific selector for styling input elements. Add a class or id to the input element and use proper selector, say
    Code:
    <input class="text" width="200px" type="text" onfocus="this.value=''" value="Enter your e-mail address" name="emailadd">
    Code:
    .pcForms input.text{
    
    }
    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:

    BlackReef (08-14-2010)

  • #3
    Regular Coder
    Join Date
    Apr 2010
    Posts
    216
    Thanks
    116
    Thanked 1 Time in 1 Post
    Quote Originally Posted by abduraooft View Post
    You need to use a more specific selector for styling input elements. Add a class or id to the input element and use proper selector, say
    Code:
    <input class="text" width="200px" type="text" onfocus="this.value=''" value="Enter your e-mail address" name="emailadd">
    Code:
    .pcForms input.text{
    
    }
    Thank you very much. I know this is basic stuff, my brain is just mush from these long days trying to finish this site. Thank you very much, abduraooft


  •  

    Posting Permissions

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