PDA

View Full Version : How to change Banner Code to vb4


Bulent Tekcan
03-05-2012, 08:19 AM
Hello,

This is my old code for banner system, how to adjust for vb4 ?

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left">Advertisement Links</td>
</tr>
<tr>
<td class="alt1" align="center">
<p>&nbsp;<center>
<p>
Banner text or image here
</a><p>&nbsp;
</center>
</p>

kh99
03-05-2012, 11:44 AM
You just need to replace $stylevar[cellpadding] and $stylevar[cellspacing]. I don't think there's anything comparable in vb4, but you could just replace them with numbers.