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 to the CF scene
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    text set to x number of pixels.

    I don't even know how to describe this issue. I saved a mail merge from Word into HTML and all the text ends at a certain point when I want it to be one continuous paragraph. The only way for me to fix it is to manually hit Delete and then Space at the end of each line. Does anyone know of a better solution?

    This is what I have:
    <tr>
    <td width="100%" valign="top" style="width: 100%; border: none; padding: 0 5.4pt;">
    <p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><strong><span style="color: #943634;">Blah: *Blah Blah Blah
    Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
    Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
    Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
    Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
    Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.
    </span></strong></p>
    </td>
    </tr>

    This is what I want:
    <tr>
    <td width="100%" valign="top" style="width: 100%; border: none; padding: 0 5.4pt;">
    <p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><strong><span style="color: #943634;">Blah: *Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.</span></strong></p>
    </td>
    </tr>

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Well I know Dreamweaver has a tool to strip MS word's text formatting from word documents when importing to a web page. Not sure how you would do this automatically if you dont have DW.

    Perhaps some other nicer text editors may have this feature, but none that come to mind at the moment.
    Last edited by teedoff; 05-12-2011 at 12:40 AM.
    Teed

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    I know it sounds brutal and unhelpful, but:
    Don't use Word...?

  • #4
    New Coder
    Join Date
    Apr 2011
    Posts
    46
    Thanks
    4
    Thanked 8 Times in 8 Posts
    I think you can save the file using WORDS and save the type as .html (web filtered page), if I didn't recall wrongly.

    If not, worse comes to worse, manual. =x

  • #5
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Quote Originally Posted by marcopollo View Post

    This is what I have:

    This is what I want:
    Technically it does not matter. The browser will display the text unwrapped anyway, so why bother?
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Tags for this Thread

    Posting Permissions

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