View Full Version : Word-Wrapping [code] tags?
sherwood
07-25-2009, 02:49 PM
Is there away that I can edit the template bbcode_code or edit something so that the code tag will wordwrap when a user posts something that exceeds like 600px?
Thanks
James Birkett
07-25-2009, 02:58 PM
$code is the actual contents of the code box, so I guess you could build something around it to do that. Seems very much possible to me.
sherwood
07-25-2009, 03:03 PM
Would I do something like this:
<div style=”word-wrap: break-word”>$code</div>
As I tried that and it didn't really work it.
TheLastSuperman
07-25-2009, 03:52 PM
Would I do something like this:
<div style=?word-wrap: break-word?>$code</div>
As I tried that and it didn't really work it.
Specify it in the Styles Additional CSS Definitions then call it via div tags like above :D
sherwood
07-25-2009, 03:55 PM
Erm slight problem. I don't really know exactly how I would do that.
Any chance you could explain a bit more for me?
Thanks,
--------------- Added 1248590375 at 1248590375 ---------------
Anyone?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.