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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsText/Html skinning the inner content with css style other than class=Normal"Text/Html skinning the inner content with css style other than class=Normal"
Previous
 
Next
New Post
1/2/2010 1:07 AM
 

I am trying to set another css class for the inner content of a Text/Html module instance BUT there is always an extra DIV that sets the inner content to the class of "Normal". How do I get rid of this so my Text/Html container skin works properly?

 

My container skin:

<

div class="AC_Br_c_container c_head_red">

 

<div class="logo_top" >

 

<div class="AC_Br_logo_top_left" >

 

<div class="AC_Br_logo_top_right">

 

<div class="AC_Br_logo_top_bg">

 

</div>

 

</div>

 

</div>

 

<div class="AC_Br_logo_left" style="background-color:red;">

 

<div class="AC_Br_logo_right" style="background-color:red;">

 

<div class="AC_Br_logo_pad" style="background-color:red;">

 

<div class="AC_Br_head_title" style="background-color:red;">

 

<div class="AC_Br_c_actions" style="background-color:red;">

 

<dnn:ACTIONS runat="server" id="dnnACTIONS" ProviderName="DNNMenuNavigationProvider" ExpandDepth="1" PopulateNodesFromClient="True" />

 

</div>

 

<div class="AC_Br_c_icon" style="background-color:red;">

 

<dnn:ICON runat="server" id="dnnICON" />

 

<h2 class="AC_Br_c_title">

 

<dnn:TITLE runat="server" id="dnnTITLE" CssClass="AC_Br_TitleHead" />

 

</h2>

 

</div>

 

<div class="AC_Br_title_vis">

 

<dnn:ACTIONBUTTON runat="server" id="dnnACTIONBUTTON3" CommandName="PrintModule.Action" DisplayIcon="True" DisplayLink="false" />

 

<dnn:VISIBILITY runat="server" id="dnnVISIBILITY" minicon="images/DNN-minus.gif" maxicon="images/DNN-plus.gif" />

 

</div>

 

<div class="AC_Br_ clear_float">

 

</div>

 

</div>

 

</div>

 

</div>

 

</div>

 

</div>

 

<div class="AC_Br_center_bg">

 

<div class="AC_Br_left_bg">

 

<div class="AC_Br_right_bg">

 

<div class="AC_Br_content_pad">

 

<div class="AC_Br_content_width" >

 

<div id="ContentPane" runat="server" class="Acuria_Br_Normal" >

 

</div>

 

 

</div> </div>

 

</div>

 

</div>

 

</div>

 

<div class="AC_Br_bot_left">

 

<div class="AC_Br_bot_right">

 

<div class="AC_Br_bot_bg">

 

<div class="AC_Br_c_footer">

 

<dnn:ACTIONBUTTON runat="server" id="dnnACTIONBUTTON1" CommandName="AddContent.Action" DisplayIcon="True" DisplayLink="True" />

 

<dnn:ACTIONBUTTON runat="server" id="dnnACTIONBUTTON2" CommandName="SyndicateModule.Action" DisplayIcon="True" DisplayLink="false" />

 

<dnn:ACTIONBUTTON runat="server" id="dnnACTIONBUTTON4" CommandName="ModuleSettings.Action" DisplayIcon="True" DisplayLink="false" />

 

</div>

 

<div class="AC_Br_clear_float">

 

</div>

 

</div>

 

</div>

 

</

</div>div>

my container css:

/*---------- Acuria Brown ---------*/

.c_container

{padding-bottom:15px;}

/*---------- To align the Actions, Icon and Title ---------*/

.AC_Br_c_icon

, .c_actions, h2.c_title{float:left;}

.AC_Br_c_icon

img {float:left; padding-right:0px;}

h2.c_title

{margin:0; padding:0;}

.icn

img{margin-right:5px;}

.AC_Br_title_vis

 

{float:right;}

.AC_Br_c_footer

{clear:both;margin-bottom:0px;padding:0; text-align:right;}

/*---------- default style for head & normal -----------*/

.Normal

p{margin-top:0px;margin-bottom:0px;}

.Acuria_Br_Normal

{color:white;margin-top:0px;margin-bottom:0px;}

/*---------- For the inline edit icons -----------*/

.eipbackimg

{background-color:#DAE7F2;border:solid 1px #4F839F;}

.AC_Br_TitleHead

{font-size:16px;color:white}

.AC_Br_logo_top_left

{background-color:red;padding:0; margin:0; background:url(images/AC_Br_logo_top_left.png) no-repeat top left; height:14px;}

.AC_Br_logo_top_right

{background-color:red;padding:0; margin:0; background:url(images/AC_Br_logo_top_right.png) no-repeat top right; height:14px;}

.AC_Br_logo_top_bg

{background-color:red;padding:0; margin:0 10px 0 11px; background:#FFF url(images/AC_Br_logo_top_bg.png) repeat-x top;height:14px;}

.AC_Br_logo_left

{background-color:red;padding:0; background:url(images/AC_Br_left_bg.png) repeat-y top left;}

.AC_Br_logo_right

{background-color:red;padding:0; background:url(images/AC_Br_right_bg.png) repeat-y top right;}

.AC_Br_logo_pad

{background-color:red;background:#d1aa66; margin: 0 3px 0 4px; padding:0 0 10px 10px;height:100%;}

.AC_Br_center_bg

{padding:0; margin:0;clear:both;}

.AC_Br_left_bg

{padding:0; margin:0; background:url(images/AC_Br_left_bg.png) repeat-y top left;}

.AC_Br_right_bg

{padding:0; margin:0; background:url(images/AC_Br_right_bg.png) repeat-y top right;}

.AC_Br_content_pad

{padding:0px 22px 0px 22px; margin: 0 3px 0 4px; background:#FFF url(images/AC_Br_center_bg.png) repeat-x bottom left;}

.AC_Br_content_width

{padding-top:15px; min-height:150px;}

.AC_Br_c_content

{clear:both;}

.AC_Br_c_contentpane

{padding:0 0 0 0;}

.content

{clear:both;}

.contentpane

{padding:0 0 0 0;}

.AC_Br_bot_left

{padding:0; margin:0; background:url(images/AC_Br_bot_left.png) no-repeat top left;}

.AC_Br_bot_right

{padding:0; margin:0; background:url(images/AC_Br_bot_right.png) no-repeat top right; padding:0 10px 0 11px;}

.AC_Br_bot_bg

{padding:0; margin:0; background:url(images/AC_Br_bot_bg.png) repeat-x top left; height:24px;}

.AC_Br_clear_float

{clear:both; line-height:0; font-size:0; height:0;}

/*---------- Acuria Blue ---------*/

.AC_Blue_c_icon

, .c_actions, h2.c_title{float:left;}

.AC_Blue_c_icon

 

img {float:left; padding-right:0px;}

.AC_Blue_title_vis

 

{float:right;}

.AC_Blue_c_footer

{clear:both;margin-bottom:0px;padding:0; text-align:right;}

.Acuria_Blue_Normal

{color:white;margin-top:0px;margin-bottom:0px;}

.AC_Blue_TitleHead

{font-size:16px}

.AC_Blue_logo_top_left

{padding:0; margin:0; background:url(images/AC_Blue_logo_top_left.png) no-repeat top left; height:14px;}

.AC_Blue_logo_top_right

{padding:0; margin:0; background:url(images/AC_Blue_logo_top_right.png) no-repeat top right; height:14px;}

.AC_Blue_logo_top_bg

{padding:0; margin:0 10px 0 11px; background:#FFF url(images/AC_Blue_logo_top_bg.png) repeat-x top;height:14px;}

.AC_Blue_logo_left

{padding:0; background:url(images/AC_Blue_left_bg.png) repeat-y top left;}

.AC_Blue_logo_right

{padding:0; background:url(images/AC_Blue_right_bg.png) repeat-y top right;}

.AC_Blue_logo_pad

{background:#48acdf; margin: 0 3px 0 4px; padding:0 0 10px 10px;height:100%;}

.AC_Blue_center_bg

{padding:0; margin:0;clear:both;}

.AC_Blue_left_bg

{padding:0; margin:0; background:url(images/AC_Blue_left_bg.png) repeat-y top left;}

.AC_Blue_right_bg

{padding:0; margin:0; background:url(images/AC_Blue_right_bg.png) repeat-y top right;}

.AC_Blue_content_pad

{padding:0px 22px 0px 22px; margin: 0 3px 0 4px; background:#FFF url(images/AC_Blue_center_bg.png) repeat-x bottom left;}

.AC_Blue_content_width

{padding-top:15px; min-height:150px;}

.AC_Blue_c_content

{clear:both;}

.AC_Blue_c_contentpane

{padding:0 0 0 0;}

.AC_Blue_bot_left

{padding:0; margin:0; background:url(images/AC_Blue_bot_left.png) no-repeat top left;}

.AC_Blue_bot_right

{padding:0; margin:0; background:url(images/AC_Blue_bot_right.png) no-repeat top right; padding:0 10px 0 11px;}

.AC_Blue_bot_bg

{padding:0; margin:0; background:url(images/AC_Blue_bot_bg.png) repeat-x top left; height:24px;}

.AC_Blue_clear_float

 

 

{clear:both; line-height:0; font-size:0; height:0;}

 

 

Here is the very irritating result with a class="Normal" in the last DIV closest to the content:

 

        <div class="AC_Br_center_bg">
            <div class="AC_Br_left_bg">
                <div class="AC_Br_right_bg">
                    <div class="AC_Br_content_pad">
                        <div class="AC_Br_content_width">
                        <div id="dnn_ctr380_ContentPane" class="Acuria_Br_Normal">
                        <!-- Start_Module_380 --><div id="dnn_ctr380_ModuleContent" class="DNN_HTMLContent">
	<div id="dnn_ctr380_HtmlModule_lblContent" class="Normal">
		<p>- Premiepensionen går enbart till dig själv och den kan du också påverka. <br>
- År 2008 tappade de, som inte hade aktiv rådgivning, 36 procent av sitt PPM-sparande.</p>
	</div>

</div><!-- End_Module_380 --></div>
                        </div>			
                    </div>
                </div>
            </div>
        </div>

 
New Post
2/2/2010 6:10 PM
 

Hi there,

The easiest way to force the inner .Normal to pick up your outer .Acuria_Br_Normal style is with this line of CSS:

.Acuria_Br_Normal .Normal {font:...;color:...;etc....}

Rob

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsText/Html skinning the inner content with css style other than class=Normal"Text/Html skinning the inner content with css style other than class=Normal"


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