Guest carmel Posted September 11, 2006 Share Posted September 11, 2006 I can't get the cart column to stop going off the page. It's excellent in IE. In Netscape the text is large, and this might be why it's not working. I've tried making it 400px instead of 100%. I've left it on 98%. but none of these changes brings it in to fit inside the box content area. I have searched for this problem, but can't find any mention of it exactly. So I think I have probably changed something myself. Particularly as I don't think it was like this originally. I'm working in IE and only checking Netscape occasionally with a Windows PC. Trouble is, I can't find how to fix it. the page is http://www.nowreadthis.com.au/cubeCart/cart.php?act=step4 the code that is causing the problem is this, but obviously it could be the style sheets too. (content/cart.tpl) <table width="98%" border="0" cellpadding="3" cellspacing="0"> <tr> <td class="tdcartTitle">Â </td> <td align="center" class="tdcartTitle">{LANG_QTY}</td> <td align="center" class="tdcartTitle">Â </td> <td class="tdcartTitle">{LANG_PRODUCT}</td> <td align="center" class="tdcartTitle">{LANG_CODE}</td> <td align="center" class="tdcartTitle">{LANG_STOCK}</td> <td class="tdcartTitle" align="right">{LANG_PRICE}</td> <td align="right" nowrap='nowrap' class="tdcartTitle">{LANG_LINE_PRICE}</td> </tr> <!-- BEGIN: repeat_cart_contents --> <tr> <td align="center" class="{TD_CART_CLASS}"><a href="cart.php?act={VAL_CURRENT_STEP}&remove={VAL_PRODUCT_KEY}"><img src="skins/{VAL_SKIN}/styleImages/del.gif" alt="{LANG_DELETE}" width="12" height="12" border="0" title="{LANG_DELETE}" /></a></td> <td align="center" class="{TD_CART_CLASS}"><input name="quan[{VAL_PRODUCT_KEY}]" type="text" value="{VAL_QUANTITY}" size="2" class="{TEXT_BOX_CLASS}" style="text-align:center;" {QUAN_DISABLED} /></td> <td align="center" class="{TD_CART_CLASS}"><img src="{VAL_IMG_SRC}" alt="" title="" /></td> <td class="{TD_CART_CLASS}"> {VAL_PRODUCT_NAME} <!-- BEGIN: options --> <br /><strong>{VAL_OPT_NAME}</strong>: {VAL_OPT_VALUE} <!-- END: options --> </td> <td align="center" class="{TD_CART_CLASS}">{VAL_PRODUCT_CODE}</td> <td align="center" class="{TD_CART_CLASS}">{VAL_INSTOCK}</td> <td align="right" class="{TD_CART_CLASS}">{VAL_IND_PRICE}</td> <td align="right" class="{TD_CART_CLASS}">{VAL_LINE_PRICE}</td> </tr> <!-- BEGIN: stock_warn --> <tr> <td align="center" class="{TD_CART_CLASS}">Â </td> <td colspan="7" align="left" class="{TD_CART_CLASS}"><span class="txtStockWarn">{VAL_STOCK_WARN}</span></td> </tr> <!-- END: stock_warn --> <!-- END: repeat_cart_contents --> <tr> <td align="center" class="tdCartSubTotal"><img src="skins/{VAL_SKIN}/styleImages/del.gif" alt="{LANG_DELETE}" width="12" height="12" title="{LANG_DELETE}" /></td> <td colspan="5" class="tdCartSubTotal">- {LANG_REMOVE_ITEM}</td> <td align="right" class="tdCartSubTotal">{LANG_SUBTOTAL}</td> <td width="80" align="right" class="tdCartSubTotal">{VAL_SUBTOTAL}</td> </tr> <tr> <td colspan="7" align="right">{LANG_TAX}</td> <td width="80" align="right">{VAL_TAX}</td> </tr> </table> really really grateful if anyone has any suggestions. thanks, Carmel. Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted September 11, 2006 Share Posted September 11, 2006 My bet is that it's the style sheet incompatibilities. I think it's madness how an industry standard is different for each browser, but we can't fight it. There's various cross-browser fixes which you can find on the internet (Search for IE CSS bug). Here's a page that explains some of these problems, and proposes some fixes: http://www.webcredible.co.uk/user-friendly...detection.shtml Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.