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)
-   -   fix the site height (https://forum.x-cart.com/showthread.php?t=33891)

amcc 09-13-2007 02:31 AM

fix the site height
 
How can I fix the height for the entire site?

I have a header and footer in customer/home.tpl and want a fixed height in between the two of them all the way through the customer pages.

balinor 09-13-2007 04:06 AM

Re: fix the site height
 
Tough to tell without knowing how you have it coded. Is it a default X-Cart skin?

amcc 09-13-2007 04:29 AM

Re: fix the site height
 
Yep, started off with default skin.

In customer/home.tpl, I created a table around all of the body tags. Then inserted blank top and bottom rows for my header and footer images.

balinor 09-13-2007 04:34 AM

Re: fix the site height
 
A table around the body tags? I hope that is not what you did :) Tables really aren't the way to go here...you want to use CSS. You can set a min-height to a <div> tag, as well as a fixed height, so I'd suggest using a <div> wrapper with a fixed height if that is what you want to achieve. You just need to be careful that your content doesn't overlap that height. Did you want to add scrollbars if the content does go past the height?

AquaClic 02-06-2008 06:44 AM

Re: fix the site height
 
Hello folks

Well Дhem....

This Issue seems resolved....
...but not for me.

Sorry Balinor

Would you mind to tell how to make the bottom fixed (for example at 600px down from the top) and how to add a scrollbar?

That would be really kind...

AquaClic 03-02-2008 02:46 PM

Re: fix the site height
 
it's okay folks

got it


All times are GMT -8. The time now is 11:25 PM.

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