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, ...columns woncolumns won't keep their measurements
Previous
 
Next
New Post
10/7/2008 3:42 PM
 

I am doing a three column skin with three 322px columns. I have set the outer two column widths at 322px and the center (because it is the content pane) at 100%. The columns will not hold their widths. Here is a sample of the CSS. I have found this to be true in other skins I have done too. Any helpful input would be greatly appreciated. Here is the URL for the work in progress http://www.annrosegraphicdesign.com/dnn/cosn/Home/tabid/166/Default.aspx

.contentpaneleft {
    background-color: transparent;
    vertical-align:top;
    width:323px;
}
.contentpane {
    background-color: transparent;
    vertical-align:top;
    width:100%;
}
.contentpaneright {
    background-color: transparent;
    vertical-align:top;
    width:323px;
    }

 
New Post
10/8/2008 6:22 AM
 

I am having the same problem with this. Could someone please shed some light. Is it anything to do with the doctype? I guess for now I will have to create specific containers with fixed width. I hope that will work.

Hope to hear soon with positive feedback.

 
New Post
10/8/2008 6:35 AM
 

100% + 2 times 323px is more than 100%, so the browser is confused and will try to calculate a width.

First, you need to specify the width of the outer box element.

e.g. if it is a table, make its width 100%, then do not specify the width of the content pane. It will fill the space automatically.

e.g. if it is a div make it a xxx px wide, then set the width for the content pane on auto.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
10/10/2008 5:27 AM
 

Hi Peter,

I am using tables, but with you suggestion it would mean that the left and right panes be permanently visible. What if I had some thing in the left and content panes? I would want the content pane to stretch all the way to the right pane. As for now instead of fixing the width of the left and right panes, I have created specific containers for those panes with fixed width, that way even if there is nothing on the right pane, the content pane would stretch all the way to the right.

Any other suggestions would be highly appreciated.

Thanks,

Wasim

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...columns woncolumns won't keep their measurements


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