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 20
  1. #1
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    Is there any way I can define the height of a text box? I'd imagine it could be done in CSS...
    Rednerve
    Creative Freelance Design

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Code:
    <textarea style="width: 100px; height: 200px;">Your text</textarea>

  4. #3
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    Thanks. Also, how do I change where abouts in the text box the text appears? At the minute it gets cut off.
    Rednerve
    Creative Freelance Design

  5. #4
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Try overflow: scroll if you want it to have scroll bars, or increase the width or height to fit all the text.

  6. #5
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    No like I have a text input box for my client's userID and password, but I have set the height of the box to 15px and the font size of the box to 11 px (Trebuchet MS) but now the text gets cut off. I don't want it to have scrollbars. Is there any way?
    Rednerve
    Creative Freelance Design

  7. #6
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Code:
    overflow: none
    What you're looking for?
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  8. #7
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    No, please view the attachment to see what I'm saying.
    Attached Images Attached Images
    Rednerve
    Creative Freelance Design

  9. #8
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Can you post the CSS style for that text-field please?
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  10. #9
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    Here is the code:

    Code:
     <input type="text" name="textfield" style="width: 100px; height: 15px; font-family: Trebuchet MS; font-size:">
    Does that help you figure out my problem?
    Rednerve
    Creative Freelance Design

  11. #10
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    'font-size:'

    It doesn't look like you have identified a font-size for the text-box. But you need to identify the padding element for the box too.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile


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