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, ...CSS/DIV skin causes module menus to drop to bottom of pageCSS/DIV skin causes module menus to drop to bottom of page
Previous
 
Next
New Post
1/21/2008 4:03 PM
 

I'm sure this is something basic that I'm forgetting.
Environment:
Using DNN4.08
VS.2005
Skining in ASCX files
Firefox 2.0.0.11

Standards compliance mode

Symptom:

I've created a very basic skin, three panes using DIV tags and CSS for positioning. In all views the layout is perfect. When in EDIT mode if I hover over a module drop down(top right corner of the module), the automatic drop down menu pops to the bottom of the page. It looks as if it's dropping all the way out of all the DIVS to the bottom of the page. Any advice would be greatly appreciated. Below is the code(first time pasting code...hope the format sticks.

CSS:

body
{
font-size: 1em;
 font-family: Verdana, 'Times New Roman';
 color:Black;

background-color:gray;
}
#Wrapper
{
position:relative;
min-width:500px;

}
#ContentWrapper
{
position:relative;
width:95%;
background-color:teal;
}
#BodyWrap
{
width:65%;
float:left;
padding:2px;
}
.LeftPane
{
float:left;
width:32.5%;
}
.ContentPane
{
float:right;
width:65.5%;
}
#RightWrap
{
width:33%;
float:right;
padding:2px;

}
.RightPane
{
float:right;
width:100%;
}
#FootWrap
{
clear:both;
}

ASCX:

 

<%@ Control language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<link href="skin.css" rel="stylesheet" type="text/css" />
   <div id="ControlPanel" runat="Server"></div>
      <div id="Wrapper">
         <div id="ContentWrapper">
            <div id="BodyWrap">
               <div id="LeftPane" class="LeftPane" runat="Server" visible="false"></div>
               <div id="ContentPane" class="ContentPane" runat="server" visible="false"></div>
            </div>
            <div id="RightWrap">
               <div id="RightPane" class="RightPane" runat="server" visible="false"></div>
           </div>
           <div id="FootWrap"></div>
         </div> <!-- END #ContentWrapper -->
</div><!-- End of #wrapper --> 

 


Josh Martin

 
New Post
1/21/2008 5:19 PM
 

Hi

i cant realy see without a working dmo but first thing you should now about tabeless dnn design is style the divs you want as html and make sure that works and inside that have the contentpane divs

 

 <div id="LeftPanel" class="LeftPane">

 <div id="LeftPane"  runat="Server" visible="false"></div>

</div>

 

dnn doesnt inject contentpanes correctly and therefore it screws your html css layout

 

 
New Post
1/21/2008 5:44 PM
 

Thank you for your response.

I changed it like you said, but it had no real effect.  the problem has been solved though.

I thought I had to have position:relative around my outtermost wrapper.  But when I removed it, everything was fixed!

I used the web developers tool bar add in for Firefox to start removing bits from my skin.css file until the symptom went away.

 


Josh Martin

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS/DIV skin causes module menus to drop to bottom of pageCSS/DIV skin causes module menus to drop to bottom of page


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