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, ...Empty content pane shows a thin line.  How do I get rid of the thin line?Empty content pane shows a thin line. How do I get rid of the thin line?
Previous
 
Next
New Post
5/10/2007 10:52 AM
 

I made a custom skin.  The skin has a Dark Blue background colour.  The ContentPane has a white background and needs to be 500-px wide.  I added a another Content Pane called FlashPane above the ContentPane that has a transparent background colour.  When I have no content in the ContentPane, there is still a 1-pixel high white line showing on my skin.  How do I make this white line go away?   It is a table layout.  You can see what I mean here:

Below is a HTML Snippet from the Skin:

<td class="right-content"><table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr valign="top">
  <td id="HeaderPane" runat="server"></td>
 </tr>
 <tr valign="top">
  <td class="menu-pane">[SOLPARTMENU]</td>
 </tr>
 <tr valign="top">
  <td class="flash-pane" id="FlashPane" runat="server"></td>
 </tr>  
 <tr valign="top">
  <td class="content-pane" id="ContentPane" runat="server"></td>
 </tr> 
 <tr valign="top">
  <td class="copy-pane">[COPYRIGHT]&nbsp;&nbsp;[TERMS]&nbsp;&nbsp;[PRIVACY]&nbsp;&nbsp;[USER]&nbsp;&nbsp;[LOGIN]</td>
 </tr> 
 </table>

 </td>

Sytle:

flash-pane {
background-color: transparent;
padding:0;
}
.content-pane {
 background-color: #ffffff;
 padding-left:20px;
 padding-right:10px;
 padding-top:5px;
 padding-bottom:5px;
 font-size: 12px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
}

 
New Post
5/10/2007 2:12 PM
 

My guess is that it is just the way the HTML tables are rendered, the cell is still drawn with no content so it is only 1px high but it is still rendered.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/10/2007 5:27 PM
 

If you cange the code from:

<td class="content-pane" id="ContentPane" runat="server"></td>

to:

<td >
    <div class="content-pane" id="ContentPane" runat="server">
    </div>

</td>

and remove the padding from the CSS for the contentpane, then it renders okay.

Now you could add the padding to the container, since that's not rendered at all if you don't put anything in the contentpane

 
New Post
5/10/2007 5:33 PM
 

Great info Timo!

 


   

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/11/2007 12:42 PM
 

Thank you very much.  Implementation is so simple, why are ideas so hard to come by?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Empty content pane shows a thin line.  How do I get rid of the thin line?Empty content pane shows a thin line. How do I get rid of the thin line?


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