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, ...Trouble with DNN skinTrouble with DNN skin
Previous
 
Next
New Post
2/19/2009 5:31 AM
 

HI All

I am having trouble with an DNN skin, an dthe trouble is that the skin when installed into DNN doesn't show like it does directly in the browser or in any of the other tools i have checked the skin with. The skin is build entirely in css, and has an background image in the contentPane that background image does not show up when installed in DNN. I have looked at the source code and seen that when the pane's are empty they get an "DNNEmptyPane" css class slapped on, so i tried to add an control to the contentPane but that dis not help either, so hopefully someone here has an idea that could help me solve the issue, the "code is below:

index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" type="text/css" href="skin.css" />
    <title></title>
</head>
<body>

<div id="wrapper" >

  <div id ="TopPane" runat="server"></div>
 
  <div id ="leftPane" ></div>
 
  <div id ="ContentPane" runat="server" class="wrapper">
  </div>
  <div id ="rightPane" ></div>
 
  <div id ="BottomPane" runat="server">
    <p>&nbsp;</p>
  </div>

</div>

</body>

</html>

skin.css:

/* CSS Document */
*{ margin:0px; padding:0px;}

body {
 background-color:#000;
}

.wrapper{
 max-width:1280px;
 min-width:760px;
 max-height:1024px;
 min-height:600px;
 margin-left:auto;
 margin-right:auto;
 background-color: #000;
 
}


#TopPane
{
 width:100%;
 height:100px;

}

 

#ContentPane{
 width:75%;
 height:500px;
 background-color:#FFF;
 background:url(images/indholdbg.png) no-repeat;
 margin-left:auto;
 margin-right:auto;
 
}

#BottomPane
{
 clear:both;
 width:100%;
 float:left;
}

 

 
New Post
2/19/2009 5:46 AM
Accepted Answer 

don't use the pane id's in your CSS, they are changed dynamically by the system, use a class

 
New Post
2/19/2009 6:29 AM
 

Use attribute
background:url(images/indholdbg.png) no-repeat;
inside ".wrapper" class instead id "#ContentPane"
HTH
- Mohiuddin

 
New Post
2/19/2009 9:46 AM
 

Thanks to the both of you, it solved the problem when i changed the id references(#) in the skin.css to classes instead.

I think i'll have to dive into the skinning documentation once again.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Trouble with DNN skinTrouble with DNN skin


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