Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2016
    Location
    South west uk
    Posts
    81
    Member #
    53465
    Liked
    3 times

    Text to html script conversion

    Hi,
    Ive really been struggling with the following.

    <li><img src="images/thumbs/188.jpg" data-large="images/fulls/188.jpg" data-description="Coffee table foot stool 90 H 40cm W 123cm D 43cm" /></a></li>

    I need to have the text on two lines.

    <br> didnt work as it was just shown in the text as opposed to breaking it.

    So Coffee table foot stool H W D becomes

    Coffee table foot stool
    H W D

    I welcome any advice to achieve this.

    Can javascript convert the current data description text to html ?

    Here is the page The Attic Banwell Gallery

  2.  

  3. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    12
    Member #
    58420
    Liked
    1 times
    txt2html is not a program to convert wordprocessor files or other marked-up document formats. It is also not a program to convert HTML to text. Most HTML browsers do that.

    If you need to convert something other than plain text to HTML, or you need to convert from HTML, you should look for a more appropriate tool.

    txt2html is not a program for automatically generating a table-of-contents from a file. If you want that, then use txt2html to generate a HTML file, and then use htmltoc or hypertoc on the HTML file


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:39 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com