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...Skins, Themes, ...Skins, Themes, ...container css problemcontainer css problem
Previous
 
Next
New Post
12/27/2007 11:12 AM
 

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 3:01 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
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...container css problemcontainer css problem


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