|
|||
|
Hallo,
Ich hab folgendes Problem bei meinem shop, ich würde gerne das der header bereich, die buttons und der inhalt keinen abstand zueinander haben. http://respekt-eu.com/xtcommerce/ wie ihr seht gibts bei mir sehr viel frei. Nur schaffe ich es nicht es zusammenzubringen. kennt sich da jemand aus? das ist der code der index.php(template) Code:
{config_load file="$language/lang_$language.conf" section="index"}
<table align="left" style="border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; border-color:#000000" width="1000" border="0" cellspacing="0" cellpadding="0" align="left">
<tr align="left" cellspacing="0" cellpadding="0">
<td width="1000"><img src="{$tpl_path}header/obj_title.jpg" height="148" width="1000"></td></tr>
<tr>
<td width="1000" border="0" cellspacing="0" cellpadding="0">
<table><tr><td>
</table>
<a href="{php}$_HTTP_SERVER{/php}"><img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/home.gif" height="29" width="89"></a>
<a href="shop_content.php?coID=4"><img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/about_us.gif" height="29" width="89" border="0"></a>
<a href="shop_content.php?coID=7"><img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/contact.gif" height="29" width="89" border="0"></a>
<a href="{$account}"><img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/account.gif" height="29" width="89" border="0"></a>
<a href="{$checkout}"><img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/checkout.gif" height="29" width="89" border="0"></a>
<a href="products_new.php"><img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/whatsnew.gif" height="29" width="89" border="0"></a>
<a title="Zum Warenkorb" href="{$cart}">
<img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/cart.gif" alt="Zum Warenkorb" border="0">
</a>
{$box_SEARCH}
</td></tr>
<tr class="headerNavigation">
<td width="1000">
<table style="border-top: 1px solid; border-color:#000000" width="1000" cellspacing="0" cellpadding="0">
<tr>
<td> » {$navtrail}</td>
<td align="left" width="250"> {if $account}{php} if (isset($_SESSION['customer_id'])) { {/php}<a href="{$logoff}"><font color="#696969">{#link_logoff#}</font></a> | {php} } {/php}{/if}{if $account}<a href="{$account}"><font color="#696969">{#link_account#}</font></a> | {/if}<a href="{$cart}"><font color="#696969">{#link_cart#}</font></a> | <a href="{$checkout}"><font color="#696969">{#link_checkout#} </font> </a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="1000" border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="10">
<td width="100%" height="10" background="{$tpl_path}header/transparent.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="100%"></td>
</tr>
</table>
</td>
</tr>
<tr height="2">
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="boxText" valign="top" width="180">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$box_CATEGORIES} {$box_ADD_QUICKIE} {$box_INFORMATION} {$box_CONTENT} {$box_WHATSNEW} {$box_NEWSLETTER} {$box_REVIEWS} {$box_SPECIALS}</td>
</tr>
</table>
</td>
<td valign="top" width="100%">
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td style="background-color: #ffffff;" valign="top">{$main_content}</td>
</tr>
</table>
</td>
<td class="navRight" valign="top" width="180">
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$box_CART} {$box_LOGIN}{$box_ADMIN} {$box_INFOBOX} {$box_MANUFACTURERS} {$box_MANUFACTURERS_INFO} {$box_LAST_VIEWED} {$box_BESTSELLERS} {$box_CURRENCIES} {$box_LANGUAGES}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="180">
</td>
<td align="left"><img src="{$tpl_path}img/pixel_trans.gif" alt="" height="20" border="0"></td>
<td width="180">
</td>
</tr>
<tr height="20">
<td class="poweredby" colspan="3" height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle">
<div align="left">
template © by <a title="Dienstleistungen und Service rund um XT:Commerce" href="http://www.xtc-services.ch">xtc-services.ch</a></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{if $BANNER}
<table width="980" border="0" cellspacing="4" cellpadding="0" align="left">
<tr>
<td align="left">{$BANNER}</td>
</tr>
</table>
{/if}
|
|
|||
|
Hi,
wenn Du meinst, dass der Content Bereich der jetzt nebendran liegt unten drunter soll, dann musst du Deine Table ergänzen. Such die Stelle im Source code... (bei mir Zeile 50) </table> <table width="1000"... entferne das </table> und füge stattdessen ein </td></tr><tr><td> ein. ganz am Ende nach dem letzten </table> musst Du noch einfügen </td></tr></table> nun sitzt der content unter Deinem Header Falls es noch nicht klappt melde dich einfach.... Gruss Jan |
![]() |
| Lesezeichen |
| Stichworte |
| inhalt, zusammenziehen |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Kasten/Box mit eigenem Inhalt in der rechten Navigationsleiste ? | Sethian | Template System | 0 | 02.09.2008 09:14 |
| {$navtrail} Inhalt | boriginal | Allgemeine Diskussionen | 2 | 16.02.2007 20:31 |