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.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Member #
    27556
    I don't really know how to explain this. But you know when you make a form for comments or a feedback option for someone to send you an email with comments or something. At the very bottom there is a little part where you can pull it further down to get the form to extend further down. But this is something that really looks weird, you have to see it in motion. I basically want to lock the form in place where I have it set.


    Attachment 2191 Attachment 2192 form.jpg form2.jpg

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    You have to specify row and column sizes for the comments section of the form - like this:


    <form action="URL to form script" method="POST">
    Your name: <br>
    <input type="text" name="realname"><br>
    <br>
    Your email: <br>
    <input type="text" name="email"><br>
    <br>
    Your comments: <br>
    <textarea name="comments" rows="15" cols="50"></textarea><br><br>
    <input type="submit" value="Submit">
    </form>



    The numbers of rows will define how far down the comment area will appear.
    That's very basic - I've removed all the PHP and styling (classes) I used in that form, but you get the idea.
    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
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Member #
    27556
    I actually tried changing the columns or rows before posting this topic and it does nothing.

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I actually know what you're talking about. I just ran into it three hours ago. Here's how you can solve it:
    Code:
    textarea {
    width:  300px;
    max-width:  300px;
    min-width:  300px;
    height:  300px;
    min-height:  300px;
    max-height:  300px;
    resize:  none;}
    You can adjust the width and height as you see fit. The key is to keep the min-width, max-width and width identical (same with the heights). resize: none gets rid of that little gizmo in Chrome.
    jesb likes this.
    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)

  6. #5
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Member #
    27556
    That worked wonderfully, thanks a lot.

    A fellow torontonian as well.

    I do also have another question. I'm not sure if you can help with this. But what if you want the option for the comments field to scroll as further down as the user wants but also has it expand with the footer of the website?

    For an example go here.

    http://membership.thinkvitamin.com/

    Select the contact link, and pull down the comments page. You'll see that the footer pulls down in tandem with the the comments page as you pull it down.

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    That I don't know. As far as I've gathered, and this just appears to be a Chrome thing, resizing a textarea doesn't take parent element boundaries into account. I'm not sure why that is, but it is.
    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)


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 07:36 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com