X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   View Cart Page Layout Chaos: footer shows up within Header div (https://forum.x-cart.com/showthread.php?t=55948)

astromax 10-09-2010 10:21 PM

View Cart Page Layout Chaos: footer shows up within Header div
 
Hi Everyone,

My problem is in View Cart page (once product is added), footer shows up within header div. I've checked using Firebug and it shows that my #footer resides inside header div. However, when I checked head.tpl, footer div was clearly coded outside #header div.

To replicate problem, please add any product into the shopping cart and click "View Cart" on the "Your Cart" menu on the right.
The View Cart layout is perfectly fine if the cart is empty.



I ran out of options and can't think where the solution is. I would very much appreciate a fellow X Cart owners' advice.

I made some basic customization to my header design.

Thanking in advance.

cflsystems 10-10-2010 08:34 AM

Re: View Cart Page Layout Chaos: footer shows up within Header div
 
You have an unclossed <div> tag for the header which causes this. From the cart page source code
Line 344, Column 7: end tag for "div" omitted, but OMITTAG NO was specified

Check the templates

astromax 10-11-2010 05:07 AM

Re: View Cart Page Layout Chaos: footer shows up within Header div
 
Hi Steve,

Thank you very much for the solution. I managed to correct the problem based on your advice.

Best wishes.

BBM_ 10-17-2010 01:30 AM

Re: View Cart Page Layout Chaos: footer shows up within Header div
 
Quote:

Originally Posted by cflsystems
You have an unclossed <div> tag for the header which causes this. From the cart page source code
Line 344, Column 7: end tag for "div" omitted, but OMITTAG NO was specified

Check the templates


I seem to have generated the same problem, however can I ask what you are using to edit the code as it gives such an exact reference (i.e Line 344, Column 7).

I'm trying to find the missing div without much luck.

cflsystems 10-17-2010 08:56 AM

Re: View Cart Page Layout Chaos: footer shows up within Header div
 
validate the page at validator.w3.org - it will tell you exactly what's where for all errors

BBM_ 10-18-2010 06:06 AM

Re: View Cart Page Layout Chaos: footer shows up within Header div
 
Hi Steve,

Many thanks for your assistance, Whilst I found the validator a little confusing at first, some exploring with the templates enabled me to fix the problem.

Thanks again for sharing your time.


All times are GMT -8. The time now is 01:27 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.