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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...asp:TabContainer - tab css not recognized?asp:TabContainer - tab css not recognized?
Previous
 
Next
New Post
11/29/2010 4:01 PM
 
I have a tab control in a user control and tab_ related style sheets defined. The usercontrol code with the css works fine in a normal web form. A mouse over highlights the tab and click changes the background of the sepected tab and restores the previous active tab to it's default background.  There's no javascript in the page. It's pure css.

This works fine in a normal web page in a user control. But once it's moved into DNN things change. A mouse over works fine until the button is clicked then then tab heading goes back to some default or something and the css is no longer recognized? No mouse over effects not border or background changes. Clicking still changes to the specified tab content but the header is plain?

Any ideas what in DNN would change the tabcontainer to reset the css associated with it? Why is the css getting lost? Again this code works fine in a normal (non-DNN) web page. It only fails when it's put into DNN.

Any ideas or suggestions would be appreciated.
The css used is as follows ---

.CustomTabStyle {font-family:Verdana,tahoma,helvetica; font-size:11px;background-color:White; border-style:Solid; border-width:1; border-color:rgb(207, 207, 207); padding:1px;}

.ajax__tab_header {border-bottom: solid 1px White}

.ajax__tab_tab {background-color: rgb(207, 207, 207);}

.ajax__tab_outer { border-left: solid 1px #999999;border-right: solid 1px White; border-top: solid 1px White; border-bottom: solid 1px White; }

.ajax__tab_inner {border: solid 1px black;}

.ajax__tab_hover .ajax__tab_outer { border-left: solid 1px black; border-right: solid 1px black; border-top: solid 1px black; border-bottom: solid 1px black; }

.ajax__tab_active .ajax__tab_tab {background-color: white;} .ajax__tab_outer { border-left: solid 1px #999999;border-right: solid 1px White; border-top: solid 1px White; border-bottom: solid 1px White; } .ajax__tab_inner {border: solid 1px black;}

.ajax__tab_body {border-top: 0; background-color: White;}

 
New Post
11/29/2010 7:32 PM
 
Are you including the CSS directly on the page, or through a CSS file?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...asp:TabContainer - tab css not recognized?asp:TabContainer - tab css not recognized?


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