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, ...Div contentpaneDiv contentpane
Previous
 
Next
New Post
4/3/2008 7:08 PM
 

Recently I've started to make skins with only divs. Before i've made skins with tables. My knowledge about divs is not very high. I've a problem with the height of divs where the panes are injected in. I've made a div called content to place the all the other divs for my panes. This div's position is set to relative. All the divs with runat=server statement are placed in this div content. The position is absolute so i can set the top and the left positions. The div content has a blue background. The background of the panes are white. If my panes are filled with a long tex this is now problem. All these divs have a height:auto; The problem is, if i have a pane with 2 lines of text, my div content with the blue background is very short. I want use a min-height like 600px so my div content with the blue background is also good visible. How can i do this. I've made a example with some simple tables.

Div called content with blue background
leftpane contentpane rightpane

 
New Post
4/5/2008 4:11 PM
 

I've solved this by using floated divs in my div content. Position is relative en height is auto. This works fine.

 
New Post
4/7/2008 9:30 AM
 

Just a friendly piece of advice when working on a CSS based layout use relative and try to stay as far away from absolute as possible. Absolute just doesn't work well with the overall flow of DNN, cause of its dynamic nature. Not that it can't work you just run into a bunch of odd quirks.

 

 
New Post
4/7/2008 9:45 AM
 

With a good use of clear attribute and positionning flow, there is no problem about using Absolute with Dnn.

Cheers,

 

Seb


The French Language pack for fr-FR is available at www.dnn-fr.org
 
New Post
4/7/2008 10:44 AM
 

Working with relative divs solved my problem. Thanks for your advice

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Div contentpaneDiv contentpane


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