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, ...Style sheet does nothing?Style sheet does nothing?
Previous
 
Next
New Post
11/27/2008 8:56 AM
 

Have in mind that I'm a beginner at DNN.

I started reading about skinning and tried to make my own skin. Like this (the files Skin.htm and Skin.css, seperated by a dashed line):

 

<table class="PageContainer">
        <table class="ContentContainer">
            <tr>
               <td>
                   [MENU] [LOGIN]
               </td>
            <tr>
            </tr>  
               <td>
                   [CONTENTPANE]
               </td>
            </tr>
        </table>
</table>

 

-----------------------------------------------------

 

.PageContainer{
    width: 100%;
    height: 100%;
    background-color: Black;
}
.ContentContainer{
    width: 800px;
    height: 100%;
    background-color: White;
}

 

--------------------------------------------------

 

When I parse this skin the css code doesn't seem to have any effect, because the background color doesn't change. Am I doing something wrong?

 

Thanks for your time!

 
New Post
11/27/2008 1:54 PM
 

I assume you also included the link to the CSS file?
 

Ex:  <link rel="stylesheet" type="text/css" href="skin.css" />

Goes in the <head> section, also if you're not using Strict, you may have some difficulty forcing the table to 100% height. If I recall correctly, you want to apply that attribute to the TR element, but it's been a while so I could be wrong.

Also, you Content Pane may not display correctly, I usually just put in the ASCX code which is usually:

<TD id="ContentPane" class="contentpane" runat="Server" /> </td>

You may want to reference the default skins that come with the DNN installation, as I am not near my notes so I may have missed an Attribute / format.


Wells Doty Jr
Online Content Development
 
New Post
11/27/2008 3:02 PM
 

Thanks for the reply!

Actually, I hadn't includet the link tag, but I put in in there now and tried, but it did not solve the problem.

What is Strict?

 
New Post
11/27/2008 3:33 PM
 

Ignore my last post. it DID solve the problem.

But I still wonder what Strict is

 
New Post
12/5/2008 7:46 AM
 

hey,

i am also facing the same problem , can u tell me how u solve that problem, and how u find that soultion

Ahtesham

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Style sheet does nothing?Style sheet does nothing?


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