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, ...Fixed Width 3 column CSS Only Layout shifting? grr!Fixed Width 3 column CSS Only Layout shifting? grr!
Previous
 
Next
New Post
9/10/2008 10:38 AM
 

I have run into a problem that I have found a fix for, but don't know if there are any reprocussions in doing so. I guess I am asking the expertise that are more familiar with DNN to assist me.

I have a fixed width layout.  The top pane is set at width 860px, below is the leftpane is 200px, the contentpane is 430px, and the rightpane 200px. My final row is also three coloumns all equal width of 280px.

I am sort of at medium skill level with CSS but not too familiar with some layout tricks that some people may know on how to get three coloumn layouts not to shift when the other containers are invisible by using only CSS. This is a new area for me.

So my question is that when I set the skins value to 'true' (see below) my css skin no longer shifts when contents to the left are invisible. Even if there is no container located in its place it won't mess up the fixed layout.  Is there any consquences that I am unaware of in doing this? or does anyone have any good suggestions in layout using only straight CSS for a three column layout that works in both IE and Firefox, that is compatible with the DNN structure?

 

 div class="dnnBottomPane3" id="bottom3pane" runat="server" visible="true"></div

 

MY CSS BELOW

/* This is the area that controls the left / content / right panes... I had to contain each one in its own wrapper and have a display set to inline for explorer purposes */
.dnnLeftPane { width:200px; margin-right:15px; float:left; margin-bottom:15px; }
#leftPaneWrapper { width:200px; left:0px; display:inline; }
.dnnContentPane {width:430px; margin-right:15px; float:left; margin-bottom:15px;}
#contentPaneWrapper { width:430px; left:215px; display:inline; }
.dnnRightPane { width:200px; float:left; margin-bottom:15px;}
#rightPaneWrapper { width:200px; left:650px; display:inline; }

/* This is the area below that controls the bottom pane from 1 / 2 / 3 */
.dnnBottomPane1, .dnnBottomPane2, .dnnBottomPane3 { width:280px; float:left; margin-right:10px; margin-bottom:15px; }
.dnnBottomPane3 {margin-right:0px;}
#btm1paneWrapper { width:280px; left:0px; display:inline; }
#btm2paneWrapper { width:280px; left:290px; display:inline; }
#btm3paneWrapper { width:280px; left:580px; display:inline; }

Thanks in advance for any help that is recieved.

 
New Post
9/10/2008 1:34 PM
 

It's fine to do it that way.

True is default, so if you remove it should be the same.

 
New Post
9/10/2008 4:37 PM
 

Thanks so much...

Your quick reply is much appreciated since I couldn't find this answer anywhere... I know it was a small question but not knowing DNN it could have been a big booboo. I am timid to change anything that doesn't need changing especially when it comes to unfamiliar code.  I copied this string from another site which was set to false which is why I was asking. I never knew the default was true.

You're awsome!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Fixed Width 3 column CSS Only Layout shifting? grr!Fixed Width 3 column CSS Only Layout shifting? grr!


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