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 5 of 5
  1. #1
    New Coder
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    60
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Question Balance ragged lines / no widow line

    I'm looking for a way to balance ragged lines on the web and fix widowed type. I was able to find only one page with a script, but it isn't working for me. Does anyone have some information for me?

    Simon

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,310
    Thanks
    203
    Thanked 2,563 Times in 2,541 Posts

  • #3
    New Coder
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    60
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Hey. Thanks for the help. I don't think this really helps, though, as wasn't looking for a way to set text-align justify in css or any other way. Is there any other info about balancing ragged lines and fixing widowed copy?

  • #4
    Regular Coder sea4me's Avatar
    Join Date
    Jan 2009
    Location
    Damn, I don't know...
    Posts
    390
    Thanks
    11
    Thanked 28 Times in 27 Posts
    For the one you had to work you have to include the jquery framework....

    include

    Code:
    <script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" type="text/javascript"></script>
    in your document...

  • #5
    Regular Coder
    Join Date
    Mar 2009
    Location
    Portland Oregon
    Posts
    690
    Thanks
    44
    Thanked 63 Times in 62 Posts
    here's a script that doesn't require Jquery.
    http://lonelypinkelephants.com/the-last-question.html

    From here
    http://www.ozoneasylum.com/31141

    The coder is very concise. I have not looked at the code, but I'm sure it's very good.


  •  

    Posting Permissions

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