FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » HTML, Javascript, jQuery & AJAX » Pre tags in posts
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Pre tags in posts [message #166838] Sun, 04 March 2012 10:42 Go to previous message
Motiak is currently offline  Motiak   United States
Messages: 15
Registered: October 2011
Karma:
Junior Member
So, I'm running an HTML FUDforum and everything seems to work great except for one thing. Basically what I do is instead of using nl2br I use pre tags to keep whitespace because nl2br makes quoting look ridiculous after a few quoted posts. My problem is that for a small group of browsers (pretty much only super old browsers as well as pre IE 8 and IE 8 or 9 in compatibility mode) have issues with word wrap not occurring. I've tried all the CSS on http://www.longren.org/wrapping-text-inside-pre-tags/ to no avail. The only thing I've found that works is to set a fixed width on posts but I don't really want to do that. Here's the weird part, I can get the text to wrap for older browsers outside of posts, just not in posts. Anyone know if there anything special about posts that would cause CSS pre word-wrapping not to work? Thanks.
[Message index]
 
Read Message
Read Message
Previous Topic: AJAX - PHP validation
Next Topic: Probem on the page in this sait
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 09:34:09 GMT 2024

Total time taken to generate the page: 0.05151 seconds