DotNetNuke uses a default.css file and also injects many other CSS files into the page output for containers, modules, and Skins, and the Portal. Many people have trouble identifying where to make changes, or why the style of their site is behaving in a certain way. Here's a CSS TIP:An easy way to find out exactly what styles are being used is to do a view source to look at the raw html of your page. Then if you search for the extension ".css" you will find all the externally linked files and be able to see where they are located. You may also want to search for the word "style" to find any inline styles. Most of the time you will want to make your changes in the portal.css file since it should be the last one applied. Also keep in mind that you should not change the /portals/_default/default.css as this file is considered part of the core and will be written over on an upgrade. To make all of this easier, you may also want to check out my Free CSS Editor For DNN.
It actually combines all the CSS into one file and save it in your skin folder, which also helps a lot on optimizing your site for performance. |