davery Posted August 22, 2011 Share Posted August 22, 2011 Greetings, I have a website which has an RSS feed of about 5 posts that appear one by one (the javascript) in a div element. I'm using the default wordpress rss widget with the option "show date" checked. The date is shown outside the div element. Here is the mess: [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/245434-any-text-align-text-wrap-commands/ Share on other sites More sharing options...
JasonLewis Posted August 22, 2011 Share Posted August 22, 2011 What is the white-space property set to on the containing div? If it's breaking out of the containing div I'd look at making sure that white-space is set to normal. white-space: normal; http://reference.sitepoint.com/css/white-space Are you sure this is JavaScript related? Quote Link to comment https://forums.phpfreaks.com/topic/245434-any-text-align-text-wrap-commands/#findComment-1260608 Share on other sites More sharing options...
davery Posted August 22, 2011 Author Share Posted August 22, 2011 Yes its javascript related, it changes every few seconds to display another feed, one by one. Quote Link to comment https://forums.phpfreaks.com/topic/245434-any-text-align-text-wrap-commands/#findComment-1260611 Share on other sites More sharing options...
davery Posted August 22, 2011 Author Share Posted August 22, 2011 I tried the white-space property but still no luck. Quote Link to comment https://forums.phpfreaks.com/topic/245434-any-text-align-text-wrap-commands/#findComment-1260612 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.