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, ...SatanSatan's CSS
Previous
 
Next
New Post
10/1/2009 10:34 AM
 

Hello,

I am pretty new to DNN and am having a real bear of a time with CSS. I know that will come as a surprise to many but it's true.

Can anyone give me some pointers on ways to minimize the amount of time it takes to figure out which style is being applied and how to fix it when the CSS is coming from the module. I know I can edit the module CSS files but I want to do the right thing, which isn't always the apparent or expedient thing.

Any help/suggestions will be appreciated.

J

 
New Post
10/1/2009 7:10 PM
 

try using a developer toolbar for your browser, like MS Dev Toolbar (included in IE8, simply press F8) or Firebug for Firefox. You can highlight an element on the page and get displayed the CSS settings applied as well as the files, they are defined in.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/1/2009 9:32 PM
 

Hehe - I feel your pain with CSS - hate it ;)

Yes, you can't go wrong with Firebug or the Web Developer toolkit in FF - just right click, Inspect Element, and play around...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
10/2/2009 4:47 AM
 

And I would not edit the module.css, since you will loose your changes if you upgrade the module.

You can add this skin object to not load a specific module.css file at all:

http://dnnskinextensions.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31187

 
New Post
10/2/2009 3:40 PM
 

Thanks for the replies. I have added firebug and the cssunloader and will be working towards complete exorcism. Hopefully nobody has uploaded any pea soup to my site recently....

Question: As far as performance in DNN is concerned, is it better to have one large CSS file or multiple smaller files? Let's assume that all pages on the site are roughly equivalent in their use of CSS and are hit about the same amount.

I was thinking about excluding all other CSS files and just having one per portal. Is that generally a good or bad idea?

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...SatanSatan's 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