Title: Code in post not displaying properly
Last modified: August 18, 2016

---

# Code in post not displaying properly

 *  [omar](https://wordpress.org/support/users/omar/)
 * (@omar)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-post-not-displaying-properly/)
 * 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](http://ondogriver.net/bullspeak/) is
   worth <b>$81,293.76</b>.</span><span style="font-size: 10px;">[How much is your blog worth?](http://www.business-opportunities.biz/projects/how-much-is-your-blog-worth/)
   </span>[<img src="http://technorati.com/pix/tech-logo-embed.gif" style="border: 0px;"/>](http://www.technorati.com/)
   </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)

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-post-not-displaying-properly/#post-276126)
 * As it says below, use backticks for code. 😉
 *  Thread Starter [omar](https://wordpress.org/support/users/omar/)
 * (@omar)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-post-not-displaying-properly/#post-276165)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [omar](https://wordpress.org/support/users/omar/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-post-not-displaying-properly/#post-276165)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
