| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
central space height | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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; }
__________________
X-Cart Pro 4.1.8 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
Doms kube v4.1.9 |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
X-Cart Pro 4.1.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|