www.webdeveloper.com
Results 1 to 2 of 2

Thread: verticale space between lines

  1. #1
    Join Date
    Feb 2011
    Posts
    90

    verticale space between lines

    Hi, I am writing a code for form:
    HTML Code:
    private name: <input size="10" name="private_name" type="text">
    last name: <input size="10" name=last_name" type="text">
    I want to increase the space between the two lines
    I tried to use the css line-height and it did increase the vertical space between the two lines.
    However only in the part of the words.
    In the case of the two input boxes instead of more space they become "taller", I can understand the logic behind this, what I don't know is a way to increase the vertical space between the two lines that will work in the case of the input boxes as well.

    How can I solve this?

    Thank in advance

  2. #2
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,211
    Have you tried using the CSS rules for margin for the input tags?

    input {
    margin: 2&#37; 0;
    }

    or some variation thereof.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles