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  |  

  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

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  container css problem
Previous Previous
 
Next Next
New Post 12/27/2007 8:12 AM
User is offline Pat Cummings
62 posts
www.austinwebvision.com
10th Ranked


container css problem 

I have created about 30 containers where each container has the following files:

containername1.ascx
containername1.css
topleftcorner.gif
toprightcorner.gif
bottomleftcorner.gif
bottomrightcorner.css

each container is named differently "containername1", "containername2" and so on. I then zipped each bundle of files and named each zip file different and appropriate to the container color.

When I add one container to a page it works like a charm. When I add another container to the same page I notice that the containers both seem to use the most recently added containers background color. The css file are identical with the exception of the background color.

shouldn't the container ascx file automatically use the css file in its associated container folder?

The image files seem to work just fine yet they also have identical names for each container bundle.

Do I need to add a link rel to the ascx file or should I go through each css file and specify a unique background class id. Seems like the container should only use the css file in its root folder and not pull css class properties from other container folders even if the classname is the same.

Any ideas / tips?

Regards,

Patrick

 

 
New Post 12/27/2007 12:01 PM
User is offline Brian Dukes
488 posts
www.engagesoftware.com
8th Ranked


Re: container css problem 
Modified By Brian Dukes  on 12/27/2007 3:02:50 PM)

Once the container is on a page, it's all just HTML; Firefox or IE doesn't know anything about whether a snippet of HTML is from container1 or container2.  The container stylesheet is linked for the entire page, that's the only way that it can be.  You will need to specify discrete class or id names in order to render each container differently.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  container css problem
 


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.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

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