SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    logologologooooo kosta's Avatar
    Join Date
    Jan 2004
    Location
    europe
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question line spacing in html

    I noticed that some pages have a 1.5 line spacing, which is good for some page elements. Is it possible to make it in html and how?

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    You can do it with CSS:
    Code:
    p {
      line-height: 150%;
    }

  3. #3
    logologologooooo kosta's Avatar
    Join Date
    Jan 2004
    Location
    europe
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow, that was fast! Thanks Vinnie.

    I tried it, and it works perfectly. How simple!

  4. #4
    logologologooooo kosta's Avatar
    Join Date
    Jan 2004
    Location
    europe
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can I set it to, for example, 182%? Does it work?

  5. #5
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you try? :-)

  6. #6
    logologologooooo kosta's Avatar
    Join Date
    Jan 2004
    Location
    europe
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, but I don't see any/much difference.

  7. #7
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Try 200% then.


Bookmarks

Posting Permissions

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