I create HTML posts using a web design package first, then copy the code and transfer over to a post. The main trouble I have is, once in the preview, Infopop treats carriage returns as line breaks, and the post is thrown everywhere in a very long line downwards. Is there any way to stop this happening without manually removing the carriage returns?
This would show up as a post, line-by-line. The above example does not show the spaces before the lines though. However, to stop that happening, I have to post it like this:
Hmm, that still didn't solve the problem. Attached is one piece of code I use for running a competition. If it's posted using HTML as it is, then there's huge gaps of nothingness, which is why I have to join everything together. I have numerous similar posts to make each week, so if this problem can be solved, it would definitely make my life much easier
Another option is to use the Generic Threads Page mod (do a search for 'generic' in the modification index to find your version) this is much easier to format but won't be as easy to update regularly.
Alright, because I refuse to admit defeat I did the next best thing which will still save you time & effort.
It's a li'l script I whipped up that will convert your HTML code so that you can paste it into the post and have it appear correct.
Just upload it to your threads folder and bookmark it, or better yet, make it a javascript popup and place the link in your addpost template so it'll be nice and handy.
What I do if I wish to post html into a thread is to - copy the code into FrontPage 2003 - the click on tidy html - to remove everything (white space included) - then all the test is in one very long line.
I then enter this into the message, and the html is displayed just fine (watch out for   instead of space though for blank cells)
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.