Devanand
08-24-2009, 03:15 PM
Hello,
I have little problem with showing code tables. When I put few code tags in column it looks like this:
http://img228.imageshack.us/img228/6654/kod.gif
but I want it to be in same column, without adding space after each code. I am not a coder so if someone can help me I will be very thankfull.
This is my bbcode_code:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:
<a href="#" onclick="selectCode(this); return false;"><input type="image" src="/images/buttons/selektuj.png" /></a>
<if condition="$show[guest]">
<div class="alt2" dir="ltr" style="
display: inline-block;
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
text-align: left;">
$vbphrase[register_to_see]
</div>
<else />
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
width: 700px;
height: {$blockheight}px;
text-align: left;
overflow: auto">$code</pre>
</if>
</div>
I have little problem with showing code tables. When I put few code tags in column it looks like this:
http://img228.imageshack.us/img228/6654/kod.gif
but I want it to be in same column, without adding space after each code. I am not a coder so if someone can help me I will be very thankfull.
This is my bbcode_code:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:
<a href="#" onclick="selectCode(this); return false;"><input type="image" src="/images/buttons/selektuj.png" /></a>
<if condition="$show[guest]">
<div class="alt2" dir="ltr" style="
display: inline-block;
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
text-align: left;">
$vbphrase[register_to_see]
</div>
<else />
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
width: 700px;
height: {$blockheight}px;
text-align: left;
overflow: auto">$code</pre>
</if>
</div>