Log in

View Full Version : Code Box


oninuva
06-16-2006, 01:37 PM
How come the code box is sooo small?

look here

http://www.gamerz-forum.com/forum/showthread.php?t=37

just scroll down alittle

Ntfu2
06-16-2006, 01:40 PM
Look like a template problem in your bbCode Layout Templates

bbcode_code

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
<pre class="alt2" style="margin:0px; padding:$stylevar[cellpadding]px; border:1px inset; width:$stylevar[codeblockwidth]; height:{$blockheight}px; overflow:auto"><div dir="ltr" style="text-align:left;">$code</div></pre>
</div>


try replacing with the default vB

having all sorts of problems with that skin huh :)

oninuva
06-17-2006, 02:22 AM
there is no problem there... this is what i got

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
<pre class="alt2" style="margin:0px; padding:$stylevar[cellpadding]px; border:1px inset; width:$stylevar[codeblockwidth]; height:{$blockheight}px; overflow:auto"><div dir="ltr" style="text-align:left;">$code</div></pre>
</div>

chewbacca
06-17-2006, 04:24 AM
What is your codeblockwidth stylevar set to? From what I see, it's at 100px and acting exactly as it should. Make it something like 500px.

rogersnm
06-17-2006, 05:53 AM
Thats, what i said, i tried to help him last night but he disappeared or got abducted. 1 of the 2 ;)

oninuva
06-17-2006, 08:12 PM
yeah i set it to 500 and it still dun work

help please

bjs144
07-19-2006, 09:24 AM
I've just changed my value to width:<b>640px</b>

So my bbcode_code template looks like

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
<pre class="alt2" style="margin:0px; padding:$stylevar[cellpadding]px; border:1px inset; width:<b>640px</b>; height:{$blockheight}px; overflow:auto"><div dir="ltr" style="text-align:left;">$code</div></pre>
</div>