#1 (permalink)  
Alt 17.10.2008, 15:42
Benutzer
 
Registriert seit: 24.04.2007
Beiträge: 61
Standard module_data.PRODUCTS_NAME sprengt Tabelle

gelöst, eine Flashdatei im Kopf der Index war in einer mit Tabellenzelle 100% Breite, diese Breite wurde fest eingestellt auf das Maß der Flashdatei, jetzt gehorcht der IE.


hallo,

da es tatsächlich noch den IE gibt, gibt es auch Probleme:

module_data.PRODUCTS_NAME sprengt unter bestimmten Bedingungen (nur im IE) die Tabelle bei der Produktauflistung in der product_listing.html
Je nach dem wann der Produktname umgebrochen werden kann, entscheidet sich der IE zwar zum umbrechen, aber wenn das Wort vor dem Umbruch eine Bestimmte Länge hat, macht der IE kurzerhand eine unmögliche Breite und bricht dann um.

Es wäre genügend Platz nicht umzubrechen. Es spielt dabei keine Rolle wie breit ich die Tabelle mache. Auch die IE-Hacks für max-width (in der index.html) interessieren den IE dann nicht mehr. Er zieht die Seite gnadenlos in die Breite.

Code:
{config_load file="$language/lang_$language.conf" section="index"} 
<br /> 

<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="contentsTopics" heigth="24px" align="left" valign="middle" style="background-color:#ededed;text-valign:middle">{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" width="22px" height="20px"align=absmiddle  style="margin-left:5px;margin-bottom:2px"/>{/if}&nbsp;&nbsp;<b>{$CATEGORIES_NAME}</b></td>
    <td style="background-color:#ededed" align="right">&nbsp;</td>
  </tr>
</table>
<br />

{if $CATEGORIES_DESCRIPTION}{$CATEGORIES_DESCRIPTION}{/if}

<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tr> 
{foreach name=aussen item=module_data from=$module_content} 
{php} 
$col++; 
{/php} 
<td align="left" valign="top" width="33%" > 
<table height="100" width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          
          {php} if ($col==1) { echo ' 
          <td rowspan="4">&nbsp;</td>
          '; } {/php} </tr>
        <tr> 
          <td align="right" valign="top">

		  


<table width="98%" height="120" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid; border-color: #d4d4d4;padding:0px;margin:0px;">
              <tr> 
                <td width="110" rowspan="2" align="left" valign="top" style="padding-right:6px;"><div style="height:100px">{if 
                  $module_data.PRODUCTS_IMAGE!=''} <a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" border="0" width="100"/></a>	
                  {/if} {if $module_data.PRODUCTS_FSK18=='true'}<br /> <img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</div>
                  <div style="font-weight:bold; text-align:center;"><a href="{$module_data.PRODUCTS_LINK}">Details...</a></div>
                  
                  </td>
                <td width="100%" colspan="2" align="left"  valign="top" style="background-color:#EDEDED;background: url({$tpl_path}img/prdlist_1.gif) no-repeat;background-position: top right;vertical-align:top;padding-left:6px;font-size:11px"><a href="{$module_data.PRODUCTS_LINK}"><b>{$module_data.PRODUCTS_NAME}</b></a><br> 
                  <div class="price">{$module_data.PRODUCTS_PRICE}</div>
                  <div style="font-size:10px">{if $module_data.PRODUCTS_VPE}{$module_data.PRODUCTS_VPE}{/if}</div>
                </td>

              </tr>
              <tr> 
                <td height="25" style="font-size:10px; background-color:#EDEDED;vertical-align:bottom;text-align:left;padding-left:0px;padding-bottom:4px;">{$module_data.PRODUCTS_TAX_INFO}<br />{$module_data.PRODUCTS_SHIPPING_LINK} </td>
                <td style="background-color:#EDEDED">&nbsp;</td>
              </tr>
            </table>
</td>
</tr> 
      </table> 		  
		  
		  
		  
</td> 

{php} 
if ($col>=2) { 
$col=0; 
echo '</tr><tr>'; 
} 
{/php} 
{/foreach}  
</tr> 
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
 <tr> 
   <td>{$NAVIGATION}</td> 
 </tr> 
</table>

Geändert von 0etzi (17.10.2008 um 16:22 Uhr) Grund: Gelöst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
moduledataproductsname, sprengt, tabelle

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Produktlisting als Tabelle, Artikelmerkmale, Sortierbarkeit, Import/Export per CSV Magic-Haus Template System 4 27.04.2010 16:21
Scheibenkleister Mehrfachinstallation Ludinator Installation und Konfiguration 10 14.12.2006 13:35


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:49 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand