Code: Select all
8upo834u289uf5234985u3fiojh ejgdkf hlsdjfsghldfkjghdjkghfdjklgshdfjghlsdjkghsldkjghdjk ghslkjdghlksjdfghlksjdfghjklsdghlskdjghlkjsfdgkjsdghkjs dfghkjsdfhgdjksfghlksdjfghkjdsfhgsdjkfghsjkfghskjdghkdsfjghdkjsfg
the fix (added css to stylesheet.css):
Code: Select all
.codecontent {
white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
-ms-word-break: break-all;
word-break: break-all;
}
.codecontent, .codetitle {
max-width: 100%;
overflow: auto;
}
Code: Select all
$tpl_codebox_plus_open = '<div style="width:80%"><div class="codetitle"><b>{L_CODE}:</b> <a href="#" onclick="selectCodebox(this); return false;">[{L_SELECT_ALL_CODE}]</a> <a href="#" onclick="ShowHideCodebox(this); return false;">[{L_CODEBOX_PLUS_EXPAND}/{L_CODEBOX_PLUS_COLLAPSE}]</a> ' . $downloadlink . '</div><pre class="codecontent" style="overflow: auto;" >';