Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Forms help

  1. #1
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    How can i make the text boxes align?

    What changes (design wise) can i make with just CSS?
    Attached Images Attached Images
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Well, the quick and dirty way would be to just take the word "number" out...
    LeenkzMike likes this.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Oh yeah lol
    Is there a more concise way?
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  5. #4
    Senior Member LeenkzMike's Avatar
    Join Date
    Jan 2011
    Location
    Toe-Peek-ah, Kansas
    Posts
    608
    Member #
    26365
    Liked
    80 times
    @Alpha,

    That would be the answer I would have expected from a Non-Code junky like myself. Coming from you, made me chuckle! LOL
    AlphaMare likes this.
    Peace, Mike
    WebHost1-For all your Hosting needs.
    Leenkz.Com-The web starts here! (Blatant use of tables)
    I realllllly need to feel useful, please "like" my signatures!!!! (Button is on the bottom right!)

  6. #5
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    My motto - "When in doubt, go quick and dirty."
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  7. #6
    Senior Member LeenkzMike's Avatar
    Join Date
    Jan 2011
    Location
    Toe-Peek-ah, Kansas
    Posts
    608
    Member #
    26365
    Liked
    80 times
    It sure made sense to me! LOL
    Peace, Mike
    WebHost1-For all your Hosting needs.
    Leenkz.Com-The web starts here! (Blatant use of tables)
    I realllllly need to feel useful, please "like" my signatures!!!! (Button is on the bottom right!)

  8. #7
    Junior Member
    Join Date
    Apr 2011
    Posts
    1
    Member #
    27599
    I am no expert, but you can use the <pre> tag to keep the formatting so it displays with the spaces and tabs you used.
    <table><pre>table content</pre></table>

  9. #8
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    If you'll post the code, I'll see if I can get it all to line up for you.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  10. #9
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    There is actually a way to do this using labels and divs. Here's how I do it.
    Code:
    label {float:  left;  width:  24%;  padding:  1% 0;}
    div.form-field-container {float:  right;  width:  75%;  padding:  1% 0;}
    div.cboth {clear:  both;} /* yes, I know I could use a break here, but it never did work consistently, whereas a div does.  You only need this once, though.
    Code:
    <label for="Name" id="Name_Label">Name:</label>
    <div class="form-field-container">(your input field here</div>
    <div class="cboth"></div>
    This not only lines up all of your code nicely, it's also web accessible. I actually take this a step further and have created ASP and VB.NET code to call one line and generate all of the corresponding code, including required fields.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  11. #10
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Ok, I'll (try to) use that then.
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:46 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com