• While goofing off I pasted the results from one of those wee games/test/what-have-you into a post on my blog. It did not appear as planned. This one was the “What is your blog worth?” gizmo you may have seen on other blogs.

    While it isn’t really important to me – or anyone else – if this displays properly, I’m insanely curious as to WHY it isn’t working. Here is the code…

    [code]
    <div style="border: 1px solid #cccccc; background-color: white; width: 115px; text-align: center; padding: 0 0 10px 0;"><p style="margin: 0"><img src="http://static.flickr.com/23/25822676_789bf55448_t.jpg" style="border:0;"/>
    <span style="font-size: 11px;">My blog is worth <b>$81,293.76</b>.</span>
    <span style="font-size: 10px;">How much is your blog worth?</span><img src="http://technorati.com/pix/tech-logo-embed.gif" style="border: 0px;"/></div>
    [/code]

    Any ideas? I just want to learn from what appears to be a mistake somewhere.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • As it says below, use backticks for code. 😉

    Thread Starter omar

    (@omar)

    My bad… Didn’t scroll down far enough to see it – and it was 2AM 😉

    So, to post it correctly:
    <div style="border: 1px solid #cccccc; background-color: white; width: 115px; text-align: center; padding: 0 0 10px 0;"><p style="margin: 0"><img src="http://static.flickr.com/23/25822676_789bf55448_t.jpg" style="border:0;"/><br /> <span style="font-size: 11px;">My <a href="http://ondogriver.net/bullspeak/">blog</a> is worth <b>$81,293.76</b>.</span><br /><span style="font-size: 10px;"><a href="http://www.business-opportunities.biz/projects/how-much-is-your-blog-worth/">How much is your blog worth?</a></span></p><p><a href="http://www.technorati.com/" style="border: 0px;"><img src="http://technorati.com/pix/tech-logo-embed.gif" style="border: 0px;"/></a></p></div>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Code in post not displaying properly’ is closed to new replies.