Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

fix the site height

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-13-2007, 02:31 AM
 
amcc amcc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 73
 

Default 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.
__________________
X-Cart Pro 4.1.8
Reply With Quote
  #2  
Old 09-13-2007, 04:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: fix the site height

Tough to tell without knowing how you have it coded. Is it a default X-Cart skin?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-13-2007, 04:29 AM
 
amcc amcc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 73
 

Default 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.
__________________
X-Cart Pro 4.1.8
Reply With Quote
  #4  
Old 09-13-2007, 04:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-06-2008, 06:44 AM
  AquaClic's Avatar 
AquaClic AquaClic is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 37
 

Talking 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...
__________________
Xcart version 4.1.10
Reply With Quote
  #6  
Old 03-02-2008, 02:46 PM
  AquaClic's Avatar 
AquaClic AquaClic is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 37
 

Default Re: fix the site height

it's okay folks

got it
__________________
Xcart version 4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020