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 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A pretty basic question: Best <p> line size?

    I know it is basic, but never the less. How do you guys set <p> line height? Do you use the single row value? I do and all my paragraphs I have to make a <br> inside to differentiate it, which is not good. I tried now TinyMCE editor and it shows normal double line spaces so I guess single line height is not too good.

    But what to use? HTML type <p> that jump 2 lines? Or something in beteen to mnake a nice paragraph layout?

    I made a few things in CSS but I am still puzzled by that one :-(

    Any ideas would be most grateful, maybe to someone else also.

    Yours

    Jerry
    Last edited by jerry2; 10-28-2006 at 11:39 AM.

  • #2
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    Try...
    Code:
    p 
    {
     line-height: 150%; /* either in percent or in pixels */
    }
    Change the percentage to reach the desired line spacing
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.


  •  

    Posting Permissions

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