Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Is this a bug?
#1
Not Solved
how can i prevent the bellow stuff from happening..

this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test 

thank you, cheers.
#2
Not Solved
Set a width to the codeblock and make it overflow when it exceeds the width.
#3
Not Solved
(2011-10-03, 10:12 PM)faviouz Wrote: Set a width to the codeblock and make it overflow when it exceeds the width.

Shouldn't that be added as default then? It makes sense if you think about it.
No longer involved in the MyBB project.
#4
Not Solved
ahh that was fast and it works Big Grin
tyvm guys.
#5
Not Solved
It should, but I'm not really sure if there's a way for it to work on all themes. On this forum, for example, you could change this:

.codeblock {
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px;
}

Into this:

.codeblock {
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px;
    width: 870px;
    overflow: auto;
}

And that would work perfectly since it's a fixed layout. However, it wouldn't work in differently sized fixed layouts. And especially not fluid layouts. It's kind of late so I might be missing something, but I don't think there's an alternative.


Forum Jump:


Users browsing this thread: 1 Guest(s)