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, ...CSS issue in my moduleCSS issue in my module
Previous
 
Next
New Post
8/20/2012 2:14 PM
 

All,

I'm trying to set css properties in my module but it's not working very well.  My guess is that the css from my skin is overriding it. 

My skin has a div tag with a container.  I place my module in that container but can't valign="top" if I used a table and I can't use display:inline to aline 3 div tags horizontally.

Can anyone offer assistance on how to force css at the module level?

Thanks,

Mark

 
New Post
8/20/2012 2:24 PM
 
Without seeing the HTML in use it will be hard to suggest how to fix it, but I would suggest you try using FireBug (in Firefox) to see what CSS is taking precedence.

Watch this video for a quick tutorial on using Firebug with DNN 

http://www.dotnetnuke.com/Resources/V...


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
 
New Post
8/21/2012 7:06 AM
 
Hi,

To overwrite a css class you can add "!important" at the end of a css property. For example
one div has a .class1{width:100px;} and you want to overwrite it to 120px then you can use .class2{width:120px !important;} . This will overwrite class1

Thanks,
Vikas Saxena
www.zventech.com
 
New Post
8/21/2012 7:21 AM
 
Grrr, it was conflicting CSS. I had 2 references to a DIV tag and that was causing the issue.

I'll keep that link handy and also remember !important too.

Thanks guys.

Mark
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS issue in my moduleCSS issue in my module


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