View Full Version : Code & PHP Boxes - Stop them from scrolling right...
Chris M
05-11-2002, 09:33 PM
How would this be done?
Satan
Admin
05-12-2002, 09:35 AM
Remove <pre> from them. But it beats the purpose of CODE boxes...
Boofo
05-12-2002, 03:16 PM
Why would it beat the purpose of code boxes? I do most of my coding and hacking through Notepad and I usually use have "word wrap" turned on. For us that do it that way, wouldn't it actually be EASIER to read the code if it wasn't wrapped? :)
Admin
05-12-2002, 05:31 PM
If you are used to reading wrapped code, it won't matter. But personally I can't read wrapped code without line markers, so I can know and see exactly where one line ends, and another line starts.
Boofo
05-12-2002, 06:02 PM
I guess it's all what you are used to. :) I'm so new at this, that I don't do alot of code writing yet. Maybe I will feel the same way about it as you do as I learn more.
To make it stop wrapping, you said something about leaving the <pre> out or something. Do I need to set that somewhere or something?
Admin
05-12-2002, 06:11 PM
Yeah edit functions.php, search for <pre> and you'll see what I'm talking about.
Chris M
05-12-2002, 07:19 PM
Cool Thanks FF...
Satan
Boofo
05-12-2002, 08:07 PM
Ok, I ventured, I saw. :) Do I just remove all of the <pre> parts in the functions.php or do I need to leave some of them there to get the code: to wrap? Removing all of them won't screw anything up will it?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.