Jump to content
xt:Commerce Community Forum

Bei IE falsche Darstellung


Recommended Posts

Hallo,

ich habe eben das Artikel listing geändert, damit die Artikel teilweise nebeneinander dargestellt werden.

Nun werden die Artikel im Internet Explorer falsch dargestellt.

Bei Google CHROME jedoch korrekt (siehe Bild)

Warum ist das so ?

Was muss ich in der html ändern?

{$categories}
{if $product_listing}
{if $heading_text}<h1>{$heading_text}</h1>
{/if}
{*{if $PRODUCTS_DROPDOWN}{$PRODUCTS_DROPDOWN}{/if}
{if $sort_dropdown.options}
<div class="products_sort">
{form type=form name=sort_dropdown action='dynamic' method=get}
{form type=hidden name=page value='categorie'}
{form type=hidden name=cat value=$current_category_id}
{form type=select name=sorting value=$sort_dropdown.options default='' onchange='this.form.submit();'}
{form type=formend}
</div>
{/if}*}
{if $MANUFACTURER_DROPDOWN}
<div class="ts_products_sort_50">{if $MANUFACTURER_DROPDOWN}{$MANUFACTURER_DROPDOWN}{/if}</div>
{/if}
{if $manufacturer}{$manufacturer.MANUFACTURER.manufacturers_description}<div class="hrproductpreview"></div>{/if}

{if $PRODUCTS_DROPDOWN}{$PRODUCTS_DROPDOWN}{/if}
{if $sort_dropdown.options}
<div class="ts_products_sort_50"><div id="ts_NAVIGATION_50"><div class="ts_COUNT_50">{$NAVIGATION_COUNT}</div><div class="ts_PAGES_50">{$NAVIGATION_PAGES}</div></div>
{form type=form name=sort_dropdown action='dynamic' method=get}
{form type=hidden name=page value='categorie'}
{form type=hidden name=cat value=$current_category_id}
{form type=select name=sorting value=$sort_dropdown.options default='' onchange='this.form.submit();'}
{form type=formend}
</div>
{/if}
<div class="hrproductpreview"></div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
{foreach name=aussen item=module_data from=$product_listing}
{php} $col++;
{/php}
<td valign="top">
<div class="ts_productPreview_50">
{* <!-- --------------------------------------------------------------- --> *}
{if $module_data.products_image!=''}
<div class="ts_productPreviewImage_50"><a href="{$module_data.products_link}"<img src="{$module_data.products_image}" alt="{$module_data.products_name}" class="productImageBorder" style="background-color: white;padding: 10px;"/>
</div>
{/if}
{* <!-- --------------------------------------------------------------- --> *}
<div class="ts_productPreviewContent_50">
{* <!-- --------------------------------------------------------------- --> *}

{* <!-- --------------------------------------------------------------- --> *}
{if $module_data.products_short_description}
<div class="ts_productPreviewDescription_50">{$module_data.products_short_description|truncate:110:"...":true}</div>{else}<div class="ts_productPreviewDescription_50">{$module_data.products_description|truncate:110:"...":true}</div>
{/if}

<div class="ts_productPreviewPriceShippingBlock_50">
{* <!-- --------------------------------------------------------------- --> *}
{if $module_data.review_stars_rating}
<div class="ts_reviews_rating_light_50"><div class="ts_reviews_rating_dark_50" style="width:{$module_data.review_stars_rating}%"></div></div>
{/if}
{* <!-- --------------------------------------------------------------- --> *}
{if $smarty.const._CUST_STATUS_SHOW_PRICE eq '1'}
<p class="ts_price_50">{$module_data.products_price.formated}</p>
<p class="ts_taxandshippinginfo_50">{$module_data.products_tax_info.tax_desc}{if $module_data.products_shipping_link}<a href="{$module_data.products_shipping_link}" target="_blank" rel="nofollow">{txt key=TEXT_EXCL_SHIPPING}</a></p>
{/if}
{if $module_data.base_price}<p class="ts_vpe_50">{$module_data.base_price.price} {txt key=TEXT_SHIPPING_BASE_PER} {$module_data.base_price.vpe.name}</p>{/if}
{/if}
{if $module_data.products_weight > 0}<p class="ts_taxandshippinginfo_50">{txt key=TEXT_PRODUCTS_WEIGHT}: {$module_data.products_weight} KG</p>{/if}
{if $module_data.shipping_status}<p class="ts_shippingtime_50">{txt key=TEXT_SHIPPING_STATUS} {$module_data.shipping_status}</p>{/if}
{if $module_data.stock_image}
{*<p class="ts_stockimage_50">{img img=$module_data.stock_image.image type=t_img_stockrules alt=$module_data.stock_image.name}</p>*}
<p class="ts_stockimagetext_50">{$module_data.stock_image.name}</p>
{/if}
{if $module_data.allow_add_cart eq 'true'}
{form type=form name=product action='dynamic' link_params=getParams method=post}
{form type=hidden name=action value=add_product}
{form type=hidden name=product value=$module_data.products_id}
{* <!-- --------------------------------------------------------------- --> *}
</div>

<div class="ts_addtobasketlisting_50">
<div class="ts_addtobasketqty_50">{form type=text name=qty value=1 style='width:50px;'}</div>
<div class="ts_addtobasketbtn_50">{button text=$smarty.const.BUTTON_ADD_CART file='button_in_cart.gif' type='form' btn_template='tpl_button_2.gif' space_left='25'}</div>
{* <!-- --------------------------------------------------------------- --> *}
</div>
</div>
{form type=formend}
{/if}
</div>
</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr>
</table>
<div class="hrproductpreview"></div>
<div id="NAVIGATION"><div class="COUNT">{$NAVIGATION_COUNT}</div><div class="PAGES">{$NAVIGATION_PAGES}</div></div><br /><br /><br />{/if}
{$error_listing}[/HTML]

Hoffe es kann jemand helfen

post-87921-14337914854175_thumb.jpg

post-87921-14337914854506_thumb.jpg

Link to comment
Share on other sites

Denke das das klar am CSS liegt. Generell hat meine Erfahrung ergeben das der IE wirklich alles ganz genauso umsetzt so wie es im Code steht.

Und der Chrome optimiert und Fehler vertuscht.

Das hat alles Vor- und Nachteile. Alternativ eine Browserweiche im CSS einbauen.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...