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)
-   -   central space height (https://forum.x-cart.com/showthread.php?t=39202)

amcc 04-20-2008 03:35 AM

central space height
 
I have some pages that run below the left and right vertical menus.

How can I force the height with scrollers so that the central space always end at a fix height?

I tried this css but didn't work:

<td class="centralspace" width="700">
<!-- central space -->

.centralspace {
overflow: scroll;
height: 500px;
vertical-align: top;
}

kube 04-20-2008 09:40 AM

Re: central space height
 
Try adding display:block;

It is better to place your class centralspace in a DIV instead, rather than on a TD.

I wouldn't recommend forcing a scrollbar on your main content.

amcc 04-21-2008 02:22 AM

Re: central space height
 
Thanks Kube, to get it to work in Firefox my css now looks like:

TD.centralspace {
overflow: auto;
height: 1000px;
vertical-align: top;
display: block;
}

However, this won't in Explorer 7! Is there something I need to do for explorer?

Or your opinion on what i am trying to do would be appreciated. You can see the page length issue at:

https://www.kharmamarket.com/nirmal-das-india-m-15.html

Some of the artists profiles will be quite lengthy and will have many products.


All times are GMT -8. The time now is 05:36 AM.

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