Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default how to make page lenght a minium height AND have the footer at bottom of the page????

    I have a min-height value for the #mainWrapper so my page is always a certain height.

    How can I make the footer goto the bottom of the #mainWrapper ? At the moment the footer rides up when there is not enough content.

    I tried applying a min-height to the #contentMainWrapper but for some reason it doesn't work.

    thanks
    james

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: how to make page lenght a minium height AND have the footer at bottom of the page

    A link to your site
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: how to make page lenght a minium height AND have the footer at bottom of the page

    Im doing it on my local computer at the moment.

  4. #4
    Join Date
    Dec 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: how to make page lenght a minium height AND have the footer at bottom of the page

    Make the column so high that it gives the page a minimum height.

    The sum of the header + footer + column height = the height of your page.
    Therefore make this style in the css:

    .columnRight { height: ...px; } or
    .columnLeft { height: ...px; }

    Give the height the value you want.

  5. #5
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: how to make page lenght a minium height AND have the footer at bottom of the page

    Thanks, thats working great!

    Just so I understand whats going on, can you tell me why do I not have to put in a mimimum-height value rather than a height value?

    I put in a value of 1px height as a test and the page looks fine, it doesnt get too small like I expected.
    Thanks again.
    James

  6. #6
    Join Date
    Dec 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: how to make page lenght a minium height AND have the footer at bottom of the page

    If you give the column a height of a certain number of pixels, it is always a minimum height. If you bring in more content, the height will be automatically so high that everyting fits in.

    I hope I understood your question right. If not, let me know.

  7. #7
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: how to make page lenght a minium height AND have the footer at bottom of the page

    Thanks a lot, that is what I was asking. I didnt know that the column height is a minimum height, rather than an absolute value.
    thanks again
    james

 

 

Similar Threads

  1. v150 How to set columns height from top to bottom of the page?
    By Dr Lem in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 May 2012, 12:06 AM
  2. How to make the HOME page (index) different than the STORE page (main page)?
    By Dianna668 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Apr 2011, 05:29 PM
  3. How to make height 100% so footer hugs bottom of browser window?
    By nickharbormarine in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 14 May 2010, 03:24 PM
  4. how to set lenght, width and height of products
    By chabates in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 18 May 2008, 07:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR