SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    form input different sizes

    http://www.randomjabber.com/static/contact/

    You can see the subject input field is slightly longer than the other input fields yet they all have "size=40" specified. Can someone tell me why this is happening?
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure what's going on but if you add a width to the class for the inputs it'll fix it.

  3. #3
    code ninja hamstu's Avatar
    Join Date
    Nov 2002
    Location
    Montréal, Canada
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're specifying a different font in your CSS for the Subject field
    (Verdana,Arial,sans-serif, instead of Helvetica, Arial, sans-serif.

    That's why it's longer.

  4. #4
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah gosh. Thanks guys. The changing font did it. I guess that's what happens when you throw together chunks of code from different templates into one new template. lol.
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore

  5. #5
    code ninja hamstu's Avatar
    Join Date
    Nov 2002
    Location
    Montréal, Canada
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, your CSS was a tad messy. Glad you got that sorted out.

  6. #6
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hamstu View Post
    Yeah, your CSS was a tad messy. Glad you got that sorted out.
    Yeah, I agree. I know there is a lot of things I still can learn as far as best practices, etc. A lot of the things I've done in my CSS is simply because it's the only way I knew how.

    If you have time, can you make any recommendations on how to better clean the CSS up?
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore


Bookmarks

Posting Permissions

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