$('#message_holder').append('<div class="container"><span class="right">' + data.content + '</span><br></div>')
The string gets appended to the message_holder div like so: <div class="container"><span class="right">9</span><br></div> but the styling defined in .right doesn't get applied What to do? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1274198e-b20c-4c84-8a0a-461bf4a68d27%40googlegroups.com.