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 ...Configuring containers in DNN for CSSConfiguring containers in DNN for CSS
Previous
 
Next
New Post
6/28/2007 1:49 PM
 

I'm a DNN newbie, so let me try to explain as best I can...

I'm working on a DNN website and have created a variety of classes in the portal.css file. The problem I'm having is that the various Text/HTML modules don't pay attention to the CSS I have written - they default to the .normal class, which gets written when you initially skin the website. After trying a few things, I changed the blankcontainer.ascx file to default to the CSS I have written (ie: I put the CSS class I wanted on the table in blankconmtainer.ascx). Then, I created some new containers and specified the CSS for them the same way. So now I have three containers that correspond to the three CSS classes that I am using on the website; when I add a Text/HTML module, I specify which container it should use.

However, it only half works. DNN only pays attention to some of the CSS I wrote: the font colour and the padding, but not the font size. WTH? I stripped down the .normal class to just the font-family attributes - no colour, no size. If I apply the style to the actualt text (eg: <P class=callout>), it doesn't work.

So...somewhere, somehow, some CSS is conflicting between the portal.css and the container .ascx files. Any ideas?

 
New Post
6/29/2007 12:35 AM
 

Short answer: wait for a few more versions.

Long answer: Search forums for "XHTML Compliance" and join with your fellow sufferers waiting to be freed from the yoke of tabled design that is the legacy of DotNetNuke. Specifically see: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/-1/threadid/138395/scope/posts/Default.aspx

There have been major improvements in making DNN more CSS compliant, but it is not so straight out of the box yet unfortunately.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configuring containers in DNN for CSSConfiguring containers in DNN for CSS


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