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, ...CSS questionCSS question
Previous
 
Next
New Post
2/15/2007 3:14 PM
 
Hi,
This is not really a skinning question but maybe somebody here can help me out.

I want to make a page like this
Header div that has a dynamic height, but not scrollbar
Content div that has a dynamic height, but is scrollable
Footer div, fixed height not scrollable

I can make this layout with CSS wit a header div with fixed height, but can't figure out how to do it with a dynamic height. I have problems positioning the content div then because i don't now it's top.
 
New Post
2/16/2007 9:29 AM
 
I believe my free sample skin found here is similar to what you are looking for.  If I remember correctly there still is an issue with it when you log in and the control panel is shown.  I think it requires a fixed top location for the content pane. 

 
New Post
2/16/2007 2:03 PM
 
Hi John,

I got i working in IE with this in CSS:
*top : expression(document.getElementById('content').style.top = document.getElementById('header').offsetHeight);
(the * is a IE hack).

Haven't found it in Mozilla FF yet. Only thing i see to get i work in FF is with a js-function in the onload event of the document. Could this cause problems when using js-functions in the onload in a DNN-skin ?
 
New Post
2/16/2007 4:13 PM
 

You can use an onload method, but you will need to add it through the AddBodyOnloadEventHandler method. 

I believe the sample skin I showed works fine in FireFox.  Was that layout not what you were looking for?


 
New Post
2/16/2007 4:22 PM
 
Hey John,

How can i use the AddBodyOnLoadHandler client-side ?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS questionCSS question


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