| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Help with page layout. Menus offset | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Help with page layout. Menus offset
Need a little help with a problem i have - can you look at url
http://www.ptmedia.co.uk/xcart/product.php?productid=1&cat=289&page=1 can you tell me why the Your Cart and Authentication are misaligned at the top of the page? half of my product pages do this half do not! Can you explain why it is doing this Cheers |
|||||||
#2
|
|||||||
|
|||||||
Looks like a botched up table somewhere, probably in product.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Thanks for reply
this is my product.tpl, can you look at it and advise
{* $Id: product.tpl,v 1.96.2.18 2005/03/23 08:16:03 max Exp $ *} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/product_offers_short_list.tpl" product=$product} {/if} {include file="form_validation_js.tpl"} {if $product.product_type eq "C"} {include file="modules/Product_Configurator/pconf_customer_product.tpl"} {else} {capture name=dialog} <TABLE border="0" width="100%"> <FORM name="orderform" method="post" action="cart.php?mode=add" onsubmit="javascript: return FormValidation();"> <TR> <TD valign="top"> <SPAN class=> {if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if} </SPAN> <TABLE width="100%" cellpadding="0" cellspacing="0" border="0"> <TR><TD colspan="2"><FONT class="ProductDetailsTitle">{$lng.lbl_details}</FONT></TD></TR> <TR><TD class="Line" height="1" colspan="2">[img]{$ImagesDir}/spacer.gif[/img]</TD></TR> <TR><TD colspan="2"></TD></TR> {if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""} <TR><TD width="30%">{$lng.lbl_quantity}</TD><TD nowrap><SPAN id="product_avail_txt">{if $product.avail gt 0}{$product.avail}</SPAN>{else}{$lng.txt_no}{/if} {$lng.txt_items_available}</TD></TR> {/if} {if $product.weight ne "0.00"}<TR><TD width="30%">{$lng.lbl_weight}</TD><TD nowrap><SPAN id="product_weight">{$product.weight}</SPAN> {$config.General.weight_symbol}</TD></TR>{/if} {if $active_modules.Extra_Fields ne ""} {include file="modules/Extra_Fields/product.tpl"} {/if} {if $active_modules.Feature_Comparison ne ""} {include file="modules/Feature_Comparison/product.tpl"} {/if} {if $active_modules.Subscriptions ne "" and $subscription} {include file="modules/Subscriptions/subscription_info.tpl"} {else} <TR><TD class="ProductPriceConverting" valign="top">{$lng.lbl_price}:</TD> <TD valign="top"> {if $product.taxed_price ne 0 || $variants ne ''} <FONT class="ProductDetailsTitle"><SPAN id="product_price">{include file="currency.tpl" value=$product.taxed_price}</SPAN></FONT><FONT class="MarketPrice"> <SPAN id="product_alt_price">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.taxed_price}</SPAN></FONT> {if $product.taxes} {include file="customer/main/taxed_price.tpl" taxes=$product.taxes}{/if} {else} <INPUT type="text" size="7" name="price"> {/if} </TD> </TR> {/if} </TABLE> <TABLE border="0" width="100%" cellpadding="0" cellspacing="0"> <TR><TD colspan="2"> <FONT class="ProductDetailsTitle">{$lng.lbl_options}</FONT> </TD></TR> <TR><TD class="Line" height="1" colspan="2">[img]{$ImagesDir}/spacer.gif[/img]</TD></TR> <TR><TD colspan="2"></TD></TR> {if $active_modules.Product_Options ne ""} { include file="modules/Product_Options/customer_options.tpl"} {/if} <TR><TD height="25" width="30%">{$lng.lbl_quantity}{if $product.min_amount gt 1} <FONT class="ProductDetailsTitle">{$lng.txt_need_min_amo unt} {$product.min_amount} {$lng.lbl_items}</FONT>{/if}</TD> <TD> {if $config.General.unlimited_products eq "N" and ($product.avail le 0 or $product.avail lt $product.min_amount) and $variants eq ''} <SCRIPT type="text/javascript" language="JavaScript 1.2"> var min_avail = 1; var avail = 0; var product_avail = 0; </SCRIPT> {$lng.txt_out_of_stock} {else} {if $config.General.unlimited_products eq "Y"} {math equation="x+1" assign="mq" x=$config.Appearance.max_select_quantity} {else} {math equation="x/y" x=$config.Appearance.max_select_quantity y=$product.min_amount assign="tmp"} {if $tmp<2} {assign var="minamount" value=$product.min_amount} {else} {assign var="minamount" value=1} {/if} {math equation="min(maxquantity+minamount, productquantity+1)" assign="mq" maxquantity=$config.Appearance.max_select_quantity minamount=$minamount productquantity=$product.avail} {/if} {if $product.distribution eq ""} {if $product.min_amount le 1} {assign var="start_quantity" value=1} {else} {assign var="start_quantity" value=$product.min_amount} {/if} <SCRIPT type="text/javascript" language="JavaScript 1.2"> var min_avail = {$start_quantity|default:1}; var avail = {$mq|default:1}-1; var product_avail = {$product.avail|default:"0"}; </SCRIPT> <SELECT id="product_avail" name="amount"{if $active_modules.Product_Options ne '' && $product_options ne ''} onchange="check_wholesale(this.value);"{/if}> {section name=quantity loop=$mq start=$start_quantity} <OPTION value="{%quantity.index%}" {if $smarty.get.quantity eq %quantity.index%}selected{/if}>{%quantity.index%}</OPTION> {/section} </SELECT> {else} <FONT class="ProductDetailsTitle">1</FONT><INPUT type="hidden" name="amount" value="1"> {$lng.txt_product_downloadable} {/if} {/if} </TD></TR> <TR><TD colspan="2"> <INPUT type="hidden" name="mode" value="add"> {if $variants eq ''} {include file="customer/main/product_prices.tpl"} {/if} {if $config.General.unlimited_products eq "Y" or ($product.avail gt 0 and $product.avail ge $product.min_amount)} {if $js_enabled} {if $smarty.get.pconf ne ""} <INPUT type="hidden" name="slot" value="{$smarty.get.slot}"> <INPUT type="hidden" name="addproductid" value="{$product.productid}"> {include file="buttons/button.tpl" button_title=$lng.lbl_pconf_add_to_configuration style="button" href="javascript:if (FormValidation()) `$ldelim`document.orderform.productid.value='`$sma rty.get.pconf`';document.orderform.action='pconf.p hp';document.orderform.submit()`$rdelim`"} {/if} {if $product.forsale ne "B"} {include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"} {if $login ne "" and $active_modules.Wishlist ne ""} {include file="customer/add2wl.tpl"} {/if} {else} {$lng.txt_pconf_product_is_bundled} {/if} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart} {/if} {/if} {if $active_modules.Feature_Comparison ne ""} {include file="modules/Feature_Comparison/product_buttons.tpl"} {/if} <INPUT type="image" src="{$ImagesDir}/null.gif" width="10" height="10" border="0" valign="top"> </TD> </TR></TABLE> </TD> <TD align="right" valign="top" width="60"> {if $product.list_price gt 0 and $product.taxed_price lt $product.list_price}<TABLE border="0" width="60"><TR><TD width="55" height="56" class="SaveMoneyLabel" background="{$ImagesDir}/save_money.gif" align="center" valign="middle"> {math equation="100-(price/lprice)*100" price=$product.taxed_price lprice=$product.list_price format="%d" assign=discount} <SPAN id="save_percent">{ $discount }</SPAN>% </TD></TR></TABLE>{/if} </TD> </TR> <INPUT type="hidden" name="productid" value="{$product.productid}"> <INPUT type="hidden" name="cat" value="{$smarty.get.cat|escape:"html"}"> <INPUT type="hidden" name="page" value="{$smarty.get.page|escape:"html"}"> </FORM> </TABLE> {/capture} {include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=100%"} {/if} {include file="customer/main/send_to_friend.tpl" } {if $active_modules.Detailed_Product_Images ne ""} {include file="modules/Detailed_Product_Images/product_images.tpl" } {/if} {if $active_modules.Upselling_Products ne ""} {include file="modules/Upselling_Products/related_products.tpl" } {/if} {if $active_modules.Recommended_Products ne ""} {include file="modules/Recommended_Products/recommends.tpl" } {/if} {if $active_modules.Customer_Reviews ne ""} {include file="modules/Customer_Reviews/vote_reviews.tpl" } {/if} {if $active_modules.Product_Options ne '' && $product_options ne ''} <SCRIPT type="text/javascript" language="JavaScript 1.2"> check_options(); </SCRIPT> {/if}
__________________
4.0.13 |
|||||||
#4
|
|||||||
|
|||||||
Are you still getting this problem?, - i'm viewing that URL with both IE6 and Firefox and it's all good.... 'Authentication' below the 'Your cart' dialogue, - aligned no probs.
__________________
X-Cart 4.0.17 ezUpsell PHP 4.4.1 MySQL 4.0.25-standard Apache 1.3.34 Linux |
|||||||
#5
|
|||||||
|
|||||||
still a few problems
the misalignment is still happening on some product pages
http://www.ptmedia.co.uk/xcart/product.php?productid=81&cat=0&page=1 something to do with my html code i think! <TABLE width="100%" cellPadding=0 align=center><TR><TD><P align=center>http://www.humansea.co.uk/000-pix/fimbles00.jpg<FONT color=#8f8f8f> <BIG>Fimbles - Fimbling Fun!</BIG></FONT> </P><P align=left><FONT face=verdana color=#000000>Fimbling Fun rather bravely aims at 2 years and upwards and is developed in line with the National Curriculum Foundation Stage. As well as the five basic modules it includes lots of songs, stories and video clips from the popular TV program. A nice extra is the Print and Play extras which include pictures, invitations (great for kids parties) and greetings cards.</FONT> </P><P align=center><FONT color=#000000>http://www.humansea.co.uk/000-pix/fimbles6.jpg</FONT> </P><P align=left><FONT face=verdana color=#000000>The five modules include a maze game where you have to control a Fimble looking for their favourite objects. The task is made harder by a sneaky pair of blue feet that wander about moving the items. Suitcase is an excellent game where you have to select 3 objects with a common theme from a selection shown on screen. An example is music where you have to select different instruments but ignore unrelated items. </FONT></P><P align=left></P><P align=left><FONT face=verdana color=#000000>We also liked the music game where you choose a song for the Fimbles to play and sing along to. You can then click on them to make them play different instruments or even choose your own instruments to play along with in time to the music.</FONT> </P><P align=left></P><P align=left><FONT face=verdana color=#000000>Another strength is RolyБ─≥s Stories where he reads a story sentence by sentence along with accompanying animations. Certain key words are highlighted such as Dad or Card. You can then enter game mode where you have to match the word to a picture. A great way to make children aware of words and to start to match them to real world objects.</FONT> </P><P align=left></P><P align=left><FONT face=verdana color=#000000>The only real let down was the Feather game which involves tickling the Fimbles and watching them laugh. Unless we missed something, that was about it apart from things like rainbows appearing.</FONT> </P><P align=left></P><P align=left><FONT face=verdana color=#000000>Throughout the program liberal use is made of video clips from the TV series. The animation and sound quality are all top notch. The interface uses nice chunky buttons so even unsteady hands can start to use it effectively and Bessie is on hand at all times to provide instructions, help and encouragement. All in all a first rate title.</FONT> </P><P align=left></P><CENTER><TABLE cellPadding=2 align=center><TR><TD>http://www.humansea.co.uk/000-pix/fimbles5.jpg</TD></TR><TR><TD><P align=center>http://www.humansea.co.uk/000-pix/fimbles6.jpg</P></TD></TR></TABLE></CENTER></TD></TR></TABLE></P><P align=center>http://www.cd-r-direct.co.uk/NewPIX/windows.jpghttp://www.humansea.co.uk/000-pix/babyanim1.gif </P></CENTER><P align=center><SMALL><SMALL><FONT face=VERDANA><FONT color=#000000>Item is Supplied in DVD Case, Mint Condition, Sealed.</FONT></FONT></SMALL></SMALL></P></TD> Any ideas !
__________________
4.0.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|