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
    New Coder
    Join Date
    Jun 2005
    Posts
    44
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question question about input css?

    I use <input>,it will display a border around input text. Now I want to use css to get rid of left,right and top line,and only leave bottom line of input text,how to realize it with css?

    Thanks

  • #2
    Regular Coder djh101's Avatar
    Join Date
    May 2009
    Location
    California
    Posts
    626
    Thanks
    51
    Thanked 67 Times in 67 Posts
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid;
    "Yeah science!"
    Online Science Tools

  • Users who have thanked djh101 for this post:

    EdwardKing (07-13-2011)

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    You can use shorthand property also:

    Code:
    border:none;
    border-bottom:1px solid #000;


  •  

    Posting Permissions

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