2011-01-30, 04:23 PM
Hi there,
(this is more of an anwer than a question, but added it since it might be useful to others)
I've noticed that if the content from code /code or other inserted wrapped text is too wide, then it goes off of the width of the page, like this:
http://community.mybb.com/thread-87294.html
I think just adding an overflow and width property to the conatiner css will solve this:
- I think this is usualy there (in .codeblock code css) but it looks like the max-width is missing. I thought I would point it out, just in case its missing from the standard templates
(this is more of an anwer than a question, but added it since it might be useful to others)
I've noticed that if the content from code /code or other inserted wrapped text is too wide, then it goes off of the width of the page, like this:
http://community.mybb.com/thread-87294.html
I think just adding an overflow and width property to the conatiner css will solve this:
.codeblock code {
display: block;
font-family: Monaco,Consolas,Courier,monospace;
font-size: 13px;
height: auto;
max-height: 200px;
max-width: 870px;
overflow: auto;
}
- I think this is usualy there (in .codeblock code css) but it looks like the max-width is missing. I thought I would point it out, just in case its missing from the standard templates