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

How to get a table positioned at the bottom of the page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-13-2007, 06:49 AM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default How to get a table positioned at the bottom of the page

Hi All,

Couldn't find a solution anywhere. Searched the internet and also nothing.
This is what I want to do.

Under every page I want to show a table with some helpful links, like help section, contact us, terms and conditions etc.
This page will be shown above the footer. As my layout is a 2 colum layout I want to have this table positioned at the bottom of the page, no matter how long the page is. Sometimes there will be some white space between the products and the table, but that is ok.

I've tried different ways. Wrapping the table with a div. Using a css style to get it to the bottom. But when I try to do that, it just shows the table somewhere in the middle of my shop pages.

Here is the code I've tried to work with:

Code:
{*<div style="position:absolute;bottom:0px;> *} <style> #footer { bottom: 0; position: absolute; width: 100%; vertical-align:baseline; padding: 0% 0%; } </style> <div id="footer" align="center"> <table> ...... </table> </div>

But all of these doesn't seem to work. Maybe someone has a better idea to get this solved.
Thanks.
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #2  
Old 04-13-2007, 03:11 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: How to get a table positioned at the bottom of the page

just add the table within the footer.tpl but above the footer table/code
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #3  
Old 04-13-2007, 03:23 PM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default Re: How to get a table positioned at the bottom of the page

Thanks for the reply. Unfortunately this is not possible in my situation.
The only way for me is to get this table positioned at the botton. It must be possible, but I just don't know how.
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #4  
Old 04-14-2007, 06:41 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to get a table positioned at the bottom of the page

Look at skin1/rectangle_bottom.tpl. If you notice, it references include file="bottom.tpl". That is the bottom bar on every page, the one that says "powered by x-cart". you can either insert your table in bottom.tpl, or create a template and put an "include" for it in rectangle_bottom.tpl under where it includes bottom.tpl.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
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 10:25 AM.

   

 
X-Cart forums © 2001-2020