Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-04-2011, 05:55 PM   PM User | #1
nickburrett
New Coder

 
Join Date: Jun 2009
Posts: 63
Thanks: 22
Thanked 0 Times in 0 Posts
nickburrett is an unknown quantity at this point
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
nickburrett is offline   Reply With Quote
Old 01-04-2011, 06:02 PM   PM User | #2
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
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.
teedoff is offline   Reply With Quote
Users who have thanked teedoff for this post:
nickburrett (01-04-2011)
Old 01-04-2011, 06:20 PM   PM User | #3
nickburrett
New Coder

 
Join Date: Jun 2009
Posts: 63
Thanks: 22
Thanked 0 Times in 0 Posts
nickburrett is an unknown quantity at this point
Doh!

Think I need to get some sleep!
nickburrett is offline   Reply With Quote
Old 01-04-2011, 06:26 PM   PM User | #4
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
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!
teedoff is offline   Reply With Quote
Reply

Bookmarks

Tags
align, css, input

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:40 AM.


Advertisement
Log in to turn off these ads.