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, ...Right side of my container does not showRight side of my container does not show
Previous
 
Next
New Post
2/2/2008 8:39 PM
 

Hello,

I have made a container which have some nice rounding graphics on each corner and on each side. I have also made a skin, with the same mechanism as the default blue skin, which make contentpane flow over the leftpane or the rightpane if one of them is not used (leftpane /rightpane width = 175px contentpane width = 100%) instead of leaving an unused space where the pane should be.

The problem I encounter here is that when putting my container in the rightpane, the right side is missing. If I put the container into the contentpane, it shows correctly. If I use the default blue skin, the same problem occur. You can see the problem att Keylinx DNN Site , where the "In the spotlight" container shows up normally, but the "Blog RSS" does not.

The container code looks like this (problem code is bold):

      <div class="RoundDark" align="right" >
        <div class="UpDark">
        <div class="LeftUpDark"></div>
                <div class="UpDark"><dnn:ACTIONS runat="server" id="dnnACTIONS" ProviderName="DNNMenuNavigationProvider"

ExpandDepth="1" PopulateNodesFromClient="True" /></div>
                <div class="UpDark"><dnn:ICON runat="server" id="dnnICON" /></div>
                <div class="UpDark"><dnn:TITLE runat="server" id="dnnTITLE" /></div>
        <div class="RightUpDark">&nbsp;</div>
        </div>
        <div style="clear:both; " >
<table cellSpacing="0" cellPadding="0"  border="0">
<tr>
            <td class="LeftDark">&nbsp;</td>
                <td class="RoundDarkContent" id="ContentPane" runat="server" ></td>
            <td class="RightDark">&nbsp;</td>
</tr>
</table>
        </div>
    <div class="downdark">
        <div class="LeftDownDark">&nbsp;</div>
            <div class="DownDark" ></div>
        <div class="RightDownDark">&nbsp;</div>
    </div>
      </div>

and the corresponding CSS:

.RoundDark
{

top: 0px;
left: 0px;
width: 100%;

}


.RoundDark .Head
{
    font-family: Lucida Sans Unicode, Lucida Sans, Lucida, Verdana, Tahoma, Arial, Helvetica;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}
.RoundDark .Normal
{
    font-family: Lucida Sans Unicode, Lucida Sans, Lucida, Verdana, Tahoma, Arial, Helvetica;
    font-size: 12px;
    font-weight: normal;
    color: #333;
    padding-left :3px;
    padding-right :3px;
}
.RoundDark a:link
{
    text-decoration: none;
    color: #400;

}
.RoundDark a:hover
{
    text-decoration: none;
    color: #000;
    background: #ccc;
}

.RoundDark a:visited
{
    text-decoration: none;
    color: #400;
}


.LeftUpDark
{
    background: url(up_left_dark.jpg) no-repeat;
    height: 21px;
    width: 5px;
    left: 0px;
    top: 0px;
    float: left;

}
.LeftDark
{
    background: url(left_dark.jpg) repeat-y;
    width: 5px;

}
.RoundDarkContent
{
width: auto;
}

.RightDark
{
    background: url(right_dark.jpg) repeat-y;
    width: 6px;

}


.UpDark
{
    font-family: Lucida Sans Unicode, Lucida Sans, Lucida, Verdana, Tahoma, Arial, Helvetica;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: url(up_dark.jpg) repeat-x; top;
    top: 0px;
    float:left;

}
.RightUpDark
{
    background: url(up_right_dark.jpg) no-repeat;
    height: 21px;
    width: 6px;
    float: right;

}
.DownDark
{
    background: url(down_dark.jpg) repeat-x; top;
    height: 6px;
    float: left;
width: auto;
}
.RightDownDark
{
    background: url(down_right_dark.jpg) no-repeat;
    height: 6px;
    width: 6px;
    float: right;

}
.LeftDownDark
{
    background: url(down_left_dark.jpg) no-repeat;
    height: 6px;
    width: 5px;
float: left;
}

 If I set the RightDark to padding-right: 3px; the container is ok in the rightpane, but the one in contentpane is then not showing the right line correct. I know that I could go with border-right properties on the contentpane cell for this one, but this is merely just a test container. I will do more advanced containers later, and really need this to work in all panes. Can someone please advise? (Or did you just fall asleep halfway through my monster post? :))

Best Regards,

Tobias

 

 
New Post
2/3/2008 11:54 PM
 

Your content pane is outgrowing its respective area and overcrowding the right pane, causing the behavior you are asking about.  Since you have a fixed-width design, I would suggest opting for fixed widths in your panes as well, instead of using 100% for the width.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
2/5/2008 3:22 AM
 

Hi,

You are right, however if I set ContentPane and LeftPane to be a fixed width, there will be a gap when LeftPane is not used and ContentPane content is not using the whole space. It is confusing, if I use a Container that has not a left and right column, then this bug will not appear. I guess that there is a limitation in the css?

 
New Post
2/5/2008 2:38 PM
 

Ahhh... That does present its own issues.  Unless someone chimes in with a CSS fix, you have a decision to make on how to display it.  ;)

I do have a workaround though.  You could create two version of the container(s) that might go in the right pane.  Set the widht the container to be a specific width.  See if that helps.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
2/5/2008 6:58 PM
 

Thank you for your help, I finally found the problem. The ContentPane of the container contained long words which caused it to go and "steal" the space allocated for the right td. A simple nowrap on the right td made the trick.

<td class="RightDark" nowrap>&nbsp;</td>

Best Regards,

Tobias

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Right side of my container does not showRight side of my container does not show


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