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 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2009
    Posts
    68
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Right aligned input field?

    Hello

    Can anyone tell me why the Telephone input field on this page is right aligned?

    http://www.coolkidsparty.com/get-a-quotation

    Regards
    Nick

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by nickburrett View Post
    Hello

    Can anyone tell me why the Telephone input field on this page is right aligned?

    http://www.coolkidsparty.com/get-a-quotation

    Regards
    Nick
    Because your CSS is telling #telephone div to.

    Your #telephone div has a float: right; style rule. Remove that and it aligns with the rest of the input fields.

  • Users who have thanked teedoff for this post:

    nickburrett (01-04-2011)

  • #3
    New Coder
    Join Date
    Jun 2009
    Posts
    68
    Thanks
    22
    Thanked 0 Times in 0 Posts
    Doh!

    Think I need to get some sleep!

  • #4
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    lol happens to all of us. Stare at code looking for some small issue so long that we can easily overlook something. Sometimes a fresh set of eyes can save alot of headache!


    btw, do you use firebug?. Thats how I found what was floating that element right. Great tool and free!


  •  

    Tags for this Thread

    Posting Permissions

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