Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2008
    Posts
    25
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Custom Input Area

    I have an input area. When you type text inside of it it looks bad cause it puts the text from left to right in the top left corner of the box. Is there a way to position how far from the left top right and bottom the text that you type is?

  • #2
    New Coder
    Join Date
    Jan 2008
    Posts
    25
    Thanks
    5
    Thanked 0 Times in 0 Posts
    help?

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    http://www.w3schools.com/css/css_padding.asp

    You can use padding to space the text from the side of the div.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

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