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, ...Container 100% of a paneContainer 100% of a pane
Previous
 
Next
New Post
10/1/2008 10:43 AM
 

Hi all,

I'm trying to make a container that is 100% the height of its pane.  I've tried by adding css to a container with 'height: 100%;' but that does nothing.  Any pointers on how to do this?

Si

 
New Post
10/1/2008 3:38 PM
 

Perhaps there is something between the pane and the container that is causing the height to extend only to it's parent element's height. If you have a TD with it's height set to 100% the table tag most likely also has to have it. Can you post the code so we can better asses?

 
New Post
10/2/2008 5:05 AM
 

In the end I gave up thinking about the problem and just shoved height="100%" everywhere i could. Still no effect.  The css classes also all have height: 100%;

Seems height 100% is completely ignored.  Well here's the code for the container:

<table class="containerfull" width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
    <tr>
        <td class="tlCornerBlue"></td>
        <td class="topBorderBlue"></td>
        <td class="trCornerBlue"></td>
    </tr>
    <tr>
        <td class="leftBorderBlue"></td>
        <td class="containerContentsBlue" height="100%">
            <table class="containermaster_blue" width="100%" cellspacing="0"
                cellpadding="2" align="center" border="0" height="100%">
                <tr>
                    <td height="100%">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
                            <tr>                               
                                <td valign="middle" nowrap>
                                    <dnn:ICON runat="server" ID="dnnICON" />&nbsp;
                                </td>
                                <td class="textBlue" valign="middle" width="100%" nowrap>
                                    <dnn:TITLE runat="server" ID="dnnTITLE" />
                                </td>
                                <td valign="middle" nowrap>
                                    <dnn:ACTIONS runat="server" ID="dnnACTIONS" ProviderName="DNNMenuNavigationProvider"
                                        ExpandDepth="1" PopulateNodesFromClient="True" />&nbsp;
                                </td>
                                <td valign="middle" nowrap>
                                    <dnn:VISIBILITY runat="server" ID="dnnVISIBILITY" />
                                    <dnn:ACTIONBUTTON5 runat="server" ID="dnnACTIONBUTTON5" CommandName="ModuleHelp.Action"
                                        DisplayIcon="True" DisplayLink="False" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>               
                <tr>
                    <td class="textBlue" id="ContentPane" runat="server" align="center" height="100%">
                    </td>
                </tr>               
                <tr>
                    <td></td>
                </tr>
            </table>
        </td>
        <td class="rightBorderBlue"></td>
    </tr>
    <tr>
        <td class="blCornerBlue"></td>
        <td class="bottomBorderBlue"></td>
        <td class="brCornerBlue"></td>
    </tr>           
</table>

 
New Post
10/2/2008 7:03 AM
 

100% height problem is a common issue discussed in CSS field. The solution to the problem is found by assigning a height value to the parent container, in this case, the body element. Writing your body stlye to include height 100% supplies the needed value.

you can refere to http://www.webmasterworld.com/forum83/200.htm for more.

 
New Post
10/2/2008 10:06 AM
 

I've added that and anything else i can think off but the container is still not expanding to 100% of its pane.  I have set the body css to the following in skin.css:

body
{
    padding: 0px;
    margin: 0px;
    height: 100%;
}

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container 100% of a paneContainer 100% of a pane


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