MyBB Community Forums

Full Version: Overflowing CodeBlocks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I fix those annoying overflowing codeblocks?

If you guys need screenshots, tell me
A link would be nice aswell.
I guess you mean Nested quotes ?

Go to: ACP > Configurations > Postings > Maximum Nested Quote Tags > and enter 1 in the settings.
(2011-05-15, 05:33 AM)Yaldaram Wrote: [ -> ]I guess you mean Nested quotes ?

Go to: ACP > Configurations > Postings > Maximum Nested Quote Tags > and enter 1 in the settings.

I think he means that PHP codeblocks are stretching the postbit.

Got to AdminCP > Templates & Style > Style > (click your theme) > global.css and search for .codeblock. Add a fixed width to it. 960px should be okay on most screen resolutions:
.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 4px;
	width: 960px;
}
Fixed it... Thanks