The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Word-Wrapping [code] tags?
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 |
#2
|
|||
|
|||
$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.
|
#3
|
|||
|
|||
Would I do something like this:
Code:
<div style=”word-wrap: break-word”>$code</div> |
#4
|
||||
|
||||
Specify it in the Styles Additional CSS Definitions then call it via div tags like above
|
#5
|
|||
|
|||
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 [DATE]1248590375[/DATE] at [TIME]1248590375[/TIME] --------------- Anyone? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|