Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CanCan't get footer to stick to bottom of window
Previous
 
Next
New Post
11/5/2010 4:29 AM
 

Hope someone can help...I am using the lastest version of DNN. I am trying to keep my footer at the bottom of the browser window. This is the short versioned html I used which works beautifully until I add the DNN tags:

<style type="text/css">
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 height:100%;
}
* {
 margin: 0;
}
.wrapper {
 min-height: 100%;
 height: auto !important;
 height: 100%;
 margin: 0 auto -70px;
 background-color:#CCCCCC;
}
.footer {
 height: 70px;
 background-color:#2a2a2a;
 text-align:center;
 padding-top:7px;
}
.push {
 height:0px;

-->
</style>

<div class="wrapper" align="center">
  <table cellpadding="0" cellspacing="0" align="center" width="947">
      <tr>
        <td align="center" valign="top" id="ControlPanel" style="height: 1px;"></td>
      </tr>
  </table>

  <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td align="center" height="100%" valign="top"><p>This is where the content goes...</p>
        </td>
      </tr>
  </table>

<div class="push"></div>
</div>

<div class="footer">Footer text to go here...</div>

Thanks in advance.
Jess

 
New Post
11/10/2010 4:55 AM
 
Hi! Have you tried Firebug (Firefox plugin) or Developer Tools (IE8) to try figure out what the problem can be? I created a HTML testpage with your markup + css and even thou it looks ok in Firefox and Crome, the footer is a bit higher on the page in IE.



Siri Monsoey - Triangel Software View Siri Merete Monsøy Elgenes's profile on LinkedIn
 
New Post
11/10/2010 12:03 PM
 
Try setting the Form element's height to 100% as well. The idea being is that in order to get 100% height, each hierarchical element needs to have that defined and since DNN displays pages as a giant Form, it winds up going Body -> Form -> the rest of it.

Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CanCan't get footer to stick to bottom of window


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out