hallo Leute, ich bin grad auf dieses Forum gestossen und hoffe das ihr mir helfen könnt bei einem problem:
Folgendes: Ich möchte ein Hintergrund in nachfolgenden Code einfügen. Das ist ja eigentlich gar kein problem, doch es sollte so aussehn, das das bild sich in der Tabelle zu 100% angezeigt wird und eine höhe von 300px hat. die 100% angabe hat leider bei mir nicht geklappt. Ich hoffe ihr könnt helfen. Wenn Ihr noch fragen haben solltet, einfach fragen - vielen Dank
Der Code:
Code
{config_load file="$language/lang_$language.conf" section="new_products"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="infoBoxHeading">{#heading_text#} </td>
</tr>
</table>
<table width="99%" height="250" border="0" cellpadding="0" cellspacing="0" background="http://www.xxxxxx.xx/werbung.jpg">
<tr>
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php}
<td valign="top" style="padding-bottom: 10px;">
<table border="0" align="center" cellpadding="0" cellspacing="0" style="border: 1px solid; border-color: #ddd; width: 200px;">
<tr>
<td rowspan="1">[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
<td align="center">{if $module_data.PRODUCTS_IMAGE}[url='{$module_data.PRODUCTS_LINK}'][img]{$module_data.PRODUCTS_IMAGE}[/img][/url]{/if}</td>
</tr>
<tr>
<td>[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
<td class="main2" style="padding-left: 3px; padding-right: 3px; text-align: center;" valign="top">[b][url='{$module_data.PRODUCTS_LINK}']{$module_data.PRODUCTS_NAME}[/url][/b]</td>
</tr>
<tr>
<td>[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
<td class="main2" style="padding-left: 3px; padding-right: 3px; text-align: center;" valign="top">{$module_data.PRODUCTS_DESCRIPTION}</td>
</tr>
<tr>
<td>[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
<td class="price" align="center" valign="top">
[b]{$module_data.PRODUCTS_PRICE}
[/b]</td>
</tr>
</table>
</td>
{php}
if ($col>=3) {
$col=0;
echo '</tr><tr>';
}{/php}
{/foreach}
</tr>
</table>
Alles anzeigen