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...Administration ...Administration ....ascx Error: The tag contains duplicate .ascx Error: The tag contains duplicate 'style' attributes.
Previous
 
Next
New Post
1/16/2009 8:18 AM
 

entire error is : Could Not Load Skin: /Portals/0/Skins/guildred001/Vertical Menu-center.ascx Error: The tag contains duplicate 'style' attributes.

my brother told me to learn on this skin and i have had alot of luck with it. untill i went to far and changed to much. not to mention i have only been doing this for about a mounth. i have no idea where i went wrong but if anyone could point it out i would greatly appreciate it.

also when i try and load the skinn the menu wont load guess that is the problem?

 

this is the code for the html dont know if problem is there

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

<style type="text/css">

body {
 background-color: #000000;

}
.style2 {
 text-align: left;
}
.style3 {
 text-align: left;
 background-color: #820515;
}
.style4 {
 text-align: right;
 background-color: #000000;
 background-image: url('images/testbanner02.jpg');
}
.style5 {
 color: #FFFFFF;
}
.style6 {
 border: 3px solid #FFFFFF;
}
</style>

 


<table cellpadding="0" cellspacing="0" class="style6" style="width: 100%; height: 350; font-size: 14px; color: #FFFFFF;">
 <!-- MSTableType="layout" -->
 <tr>
  <td colspan="2" style="height: 100" valign="bottom" class="style4" id="TopPane" runat="server">
  <span class="style5">[USER]&nbsp;&nbsp;[LOGIN]&nbsp;</span>
  &nbsp;&nbsp;</td>
 </tr>
 <tr>
  <td  rowspan="2" style="width: 137"
  
  class="style3" id="LeftPane" runat="server" style="width: 137px" valign="top">[SOLPARTMENU:1]
  &nbsp;</td>
  <td style="height: 271px" valign="top" class="contentpane" id="ContentPane" runat="server">
  
  </td>
 </tr>
 <tr>
  <td style="height: 32px; width: 100%" class="style2" class="bottompane" id="BottomPane" runat="server">
  
  &nbsp;</td>
 </tr>
 <tr>
  <td><img alt="" height="1" src="MsSpacer.gif" width="151" /></td>
  <td></td>
 </tr>
</table>

 

and this is the colde for the css:

______________________________________


body{ background:#ffffff; border-left:0px; border-right:0px; height:100%; }
.controlpanel{ background:url(media/bgCP.gif); border:#ADADAD solid; border-width:0px 0px 2px; }
.controlpanel IMG{ margin:15px 5px 0px; }
.controlpanel TD TD TD TD IMG{ margin:0px; }
.controlpanel TD TD TD{ width:auto; }
.controlpanel DIV{ border:#CCC solid; border-width:0px 1px; width:3px; height:100px; }
.controlpanel TD.SubHead{ background:#CCC; font-size:12px; color:#ffffff; font-weight:bold; }
.controlpanel TD TD TD .SubHead{ background:transparent; border:0px; font-size:11px; color:#ffffff; font-weight:normal; }
.controlpanel TD TD TD input{ background:#ffffff; font-size:11px; color:#000; font-weight:bold; padding-left:4px; }
.controlpanel TD TD TD select{ background:#ffffff; font-size:11px; color:#000; }
.controlpanel A.CommandButton{ font-size:11px; text-decoration:underline; }
.controlpanel A.CommandButton:link{  font-size:11px;color:#ffffff; text-decoration:underline;}
.controlpanel A.CommandButton:visited{  font-size:11px;color:#ffffff;text-decoration:underline; }
.controlpanel A.CommandButton:active{  font-size:11px;color:#ffffff;text-decoration:underline; }
.controlpanel A.CommandButton:hover{  font-size:11px;color:#ffffff;text-decoration:none; }

.headerpane{ text-align:right; background:url(media/bg_banner.gif); padding:20px;}
.leftpane{  padding:10px 10px 0px; }
.contentpane{ padding:10px 10px 0px; }
.rightpane{ padding:10px 10px 0px; }
.toppane{ padding:10px 10px 0px; }
.BottomPane{ padding:10px 10px 0px; }
.leftcol{ background:url(media/bg_leftpane_top.gif) top no-repeat;  }
.leftbg{ background:url(media/bg_leftpane.gif) top repeat-y; }
.contents{ background:url(media/bg_contentpane.gif) top repeat-x; }
.rightbg{ background:url(media/bg_rightpane.gif) top right no-repeat; }

.Head{ font-size:13px; font-weight:bold; color:#003366; }
.SubHead,.SubSubHead{ font-size:11px; color:#003366; }
.Normal{ font-size:11px; color:#000000; }
.CommandButton,A.CommandButton:link,A.CommandButton:visited,A.CommandButton:active{ color:#003366; text-decoration:underline; }
A.CommandButton:hover{ color:#003366; text-decoration:none;}
TH,TD,DIV{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; color:#2c5188; }
A,A:link,A:visited,A:active{ color:#ffffff; text-decoration:none;font-size:14px; }
A:hover{ color:#666666; text-decoration:underline;font-size:14px; }
.user,a.user:link,a.user:active,a.user:visited,.user{ color:#6e95ce; text-decoration:none;font-size:11px; font-weight:bold;}
a.user:hover{ color:#6e95ce; text-decoration:underline;font-size:11px; font-weight:bold;}
a.bottomlinks:link,a.bottomlinks:active,a.bottomlinks:visited{ color:#330000; text-decoration:none; }
a.bottomlinks:hover{ color:#330000; text-decoration:underline; }
.footer,a.footer:link,a.footer:active,a.footer:visited{ font-size:11px; color:#ffffff; text-decoration:none; font-weight:bold;}
a.footer:hover{ color:#ffffff; text-decoration:underline; font-weight:bold;}

.MainMenu_MenuContainer{ background:transparent; width:100%; height:1px; }
.MainMenu_MenuBar{}
.MainMenu_MenuIcon{ display:none; }
.MainMenu_MenuArrow{ display:none; }
.MainMenu_RootMenuArrow{ display:none; }
.MainMenu_MenuBreak{ display:none; }
.MainMenu_MenuItem,.submenuitembreadcrumb{
 color:#333; font-size:12px; font-weight:normal;
 padding:3px 15px 3px 10px;
 border:1px #CBCBCB solid; border-width:1px 0px;
}
.submenuitemselected{
 color:#FFffff; font-size:12px; font-weight:normal;
 padding:3px 15px 3px 10px;
 background:#99cdff;
 border:1px #CBCBCB solid; border-width:1px 0px; 
}
.submenu{
 border:1px #A7A7A7 solid;
 padding:0px;
 background:#c1d2e6;
 margin-left:0px;
 margin-top:2px;
}
.rootmenuitem TD{
 color:#ffffff; font-size:12px; font-weight:bold;
 text-align:left;
 background:url(images/2_r4_c5.jpg) 0px  no-repeat transparent;
 padding-left:10px;
 height:28px; 
 width:137px;
}
.rootmenuitemselected TD,.rootmenuitembreadcrumb TD{
 color:#ffffff; font-size:12px; font-weight:bold;
 background:url(images/2_r4_c5.jpg) 0px  no-repeat transparent;
 text-align:left;
 padding-left:10px;
 height:28px;
 width:137px; 
}
 

 

 
New Post
1/16/2009 11:15 AM
 

Maybe you can post the contents of Vertical Menu-center.ascx as well?

What files did you alter, just the Html and CSS file, or also the xml file, or did you change the ascx?

 
New Post
1/16/2009 11:49 AM
 

yah i did not touch the xml or the ascx file

 
New Post
1/16/2009 12:09 PM
 

The only strange thing I notice is  [ class="style2" class="bottompane" ] - I think that's not allowed.

 
New Post
1/16/2009 12:38 PM
 

Well i removed the [ class="style2" ] and i get the same error.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ....ascx Error: The tag contains duplicate .ascx Error: The tag contains duplicate 'style' attributes.


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