Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Container.css
Previous Previous
 
Next Next
New Post 4/25/2008 6:45 AM
User is offline rjdejong
67 posts
www.rjdejong.net
10th Ranked


Container.css 

Hi,

Im working on some containers. I used the standard DNN-Blue container and copied it to  "portals/0/container" and renamed all the files to CYT_container. Next i needed another container voor my links module so i Copied it again and renamed all the files to CYT_menu. Now I need to create a Submenu so i copied it again and called it CYT_submenu .I was planning on using another links module. But somehow it seems that i change something in my CYT_submenu container. it shows on both links modules.

this is the code i use to change the links module

a.normal {
    display: block;
    background-color: #FFFFFF;
    padding: 5px;
    border-top: 2px solid #f39801;
    border-bottom: 2px solid #f39801;
    width: 120px;
    text-align: center;
    color: #333333;
    margin-top: -2px;
 }

I'm new to DNN so bear with me if i'm doin things in a wierd way :P , Thx.

Greetz, R-J


www.rjdejong.net
 
New Post 5/8/2008 11:45 AM
User is offline ziprhead
2 posts
10th Ranked


Re: Container.css 

I'm absolutely brand new to DNN so I probably (definitely) shouldn't be attempting to answer a question, not to mention you most likely have it resolved by now, but what the heck.

It sounds like since you copied & pasted a container (same way I editied my first one) then you will have duplicates of the targeted elements inside the containers. In other words, although you've changed the name of the container (from CYT_menu to CYTsubmenu) If they share some css rules and if both are used on your page one of them will take precedence and give you unpredicted results. Perhaps 'a.normal' should become something like '.menu a .normal' and for the other '.submenu a .normal'?

If I'm giving terrible advice, someone will surely pop in and tell me so :)

-Jon

 
New Post 5/8/2008 3:14 PM
User is offline Brandon Haynes
706 posts
brandonhaynes.org
7th Ranked


Re: Container.css 

Jon's advice seems on-target.  Your classes (e.g.; "a.normal") are not specific enough to be applied to one particular container.  If you want different styles across different containers, you'll need to be more specific in your selectors.  As Jon suggested, something like ".menu a.normal" will do the trick, provided that you open up the container.ascx file and ensure that it is wrapped in a class="menu" attribute.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post 5/9/2008 1:15 AM
User is offline rjdejong
67 posts
www.rjdejong.net
10th Ranked


Re: Container.css 

You are absolutely correct :P i figured this out about a week ago , Thanks for the help though, appriciate it.

Greetz, R-J


www.rjdejong.net
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Container.css
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP