Great in Preview, but displays code when published.

  • 1
  • Question
  • Updated 8 years ago
  • Answered
Guys,
I really would be most grateful for some help on an issue.
A particular page of my new yola site http://www.sportstrading.biz/arbitrag... looks great when I preview it in yola sitebuilder preview but live on the web there is a load of html displayed at the bottom of the page instead of text.
I cannot do a fix, and it looks really awful. I would appreciate if someone could take a quick peek at the page and maybe offer a suggestion.
I can't figure out how it looks good in Preview but doesn't translate properly to the Web when published. It is only this particular page btw.
This is my first ever attempt at building a site, and I am very happy with the result -- except for this !!!!
Many thanks in advance for any help.
Regards,
Jack C.
Photo of Jack Crowley

Jack Crowley

  • 10 Posts
  • 0 Reply Likes
  • sad

Posted 8 years ago

  • 1
Photo of Jack Crowley

Jack Crowley

  • 10 Posts
  • 0 Reply Likes
This is how it looks in Preview .............
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Jack,

The reason this is happening is because you have some invalid code in there causing this issue. Copy and paste this corrected code instead:

<table width="100%" cellpadding="8" bordercolor="#cccc66" border="5" bgcolor="#ebeed0">
<tbody>
<tr>
<td><b><font color="#009900"><font size="3">There are a couple of risks associated with arbitrage, but with some application these risks can be managed or eliminated entirely.</font></font></b>
<p><font color="#009900"> <b><u><font size="3"> <font color="#666666">Risk 1</font></font></u></b><font size="3"><font color="#666666">: After executing the Back bet of one side of the arbitrage, the odds on the opponent may have been contracted by the other bookmaker or in a worst case scenario may have been withdrawn completely.<br />
<b>Solution</b>: Have two windows open -- one for each bookmaker -- and have the correct amount to be wagered already ticked for each selection.<br />
When the first bet has been entered and receipt-ed, the second bet must be immediately made.<br />
<br />
<b><u>Risk 2</u></b>: Palpaple Error. On a rare occasion a bookmaker may make a genuine error; instead of a general 2/1 on offer with other bookmakers, a particular firm may have an advertised price of 22/1. This is clearly a mistake. <br />
Errors such as these can NOT be exploited. If you submit a bet taking the 22/1 and if it is accepted, the bookmaker has the get-out clause of Palpaple Error and he is not obliged to pay out at those odds. Yur bet will be settled at 2/1.<br />
<b>Solution</b>: Carefully scrutinize such offered odds when they arise. The old adage holds true: if something seems too good, then it probably is.<br />
Check the odds on offer from other bookmakers on Oddschecker; if there seems an enormous divergence between the bookmaker and all the others then this is likely an example of palpable error. Any difference greater than 25% should raise suspicions. </font> </font></font></p>
</td>
</tr>
</tbody>
</table>

This will resolve your issue. Please remember to republish your site for these changes to appear on your Live site as well.
Photo of Jack Crowley

Jack Crowley

  • 10 Posts
  • 0 Reply Likes
And live on the Web it is ..........................
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Did copy and paste the corrected code and then republish your site by clicking on the green "Publish to the web" button?
Photo of Jack Crowley

Jack Crowley

  • 10 Posts
  • 0 Reply Likes
Kershnee ................... FANTASTICO !!!!!

Sorted !
Many many thank-you's for that. It looks great now.
I really am appreciative of your very prompt and most helpful reply.
(I couldn't figure out how it was fine in preview but looked rotten live on Web).
I reckon I have a lot to learn about this web-building game. :)

I'm very pleased with my site, considering this is the first ever time I tried anything Web-related. To everyone else it will probably look naive and amateur-ish.
But at least it's up there on the Web, and it's something I always wanted to do but didn't have the nous. Yola made it happen for me ! :)

Thanks again, Kershnee, for your help and assistance with this issue.

Regards,
Jack C.
http://www.sportstrading.biz