Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Urgent: CSS Priority in DNN
Previous Previous
 
Next Next
New Post 3/3/2008 1:11 PM
User is offline Rusel
3 posts
10th Ranked


Re: Urgent: CSS Priority in DNN 

 Carlos Rodriguez wrote

Rusel:

"You need to be more specific in the details of what you need to do."

Carlos

 

 

What I want to do is this: I'm using a skin with a "style" subfolder. In that folder there are two CSS files named after skin.css and container.css. In the code of the main page of the skin I've included these two CSS files as links. So far so good.

Here's the hard part... In the code of the container.css file I've created two classes for, let's say, Container1, one class for the title of the container and another one for the body. In the code of the skinfixedwidth.ascx file I use these two classes.The one reffering to the title works fine. The other one used for the body of the container doesn't work as expected! For instance, if i change a padding-right property, it works throughout the whole of the container. But if I use a color property, it changes the color of the text only in the backend of the DNN! The text within the container in the frontend only changes if I change the properties of a specific class in the skin.css file named after .SubHead. The same happens for the hyperlinks within the container and so on... I can change them only by changing the classes of the skin.css file, but in this way I also change all the hyperlinks of the page! 

So, this is it... :( Any suggestions?

 
New Post 3/3/2008 1:18 PM
User is offline Rusel
3 posts
10th Ranked


Re: Urgent: CSS Priority in DNN 

I must also note that when i tried to create a .SubHead class in the module.css file found in the folder of the specific module, nothing happened... That's why I asked about the order in which the CSS files are handled by DNN.

 
New Post 3/4/2008 8:36 AM
User is offline Timo Breumelhof
1693 posts
5th Ranked




Re: Urgent: CSS Priority in DNN 

module.css is loaded before all the other ones, so if any of them has a .Subhead in it you will not see the changes.

(but I guess you already figured that out...)


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
New Post 3/4/2008 10:59 AM
User is offline Josh Martin
157 posts
www.dnnreactor.com
9th Ranked


Re: Urgent: CSS Priority in DNN 

 Rusel wrote

 Carlos Rodriguez wrote

 

Rusel:

"You need to be more specific in the details of what you need to do."

Carlos

 

 

 

What I want to do is this: I'm using a skin with a "style" subfolder. In that folder there are two CSS files named after skin.css and container.css. In the code of the main page of the skin I've included these two CSS files as links. So far so good.

Here's the hard part... In the code of the container.css file I've created two classes for, let's say, Container1, one class for the title of the container and another one for the body. In the code of the skinfixedwidth.ascx file I use these two classes.The one reffering to the title works fine. The other one used for the body of the container doesn't work as expected! For instance, if i change a padding-right property, it works throughout the whole of the container. But if I use a color property, it changes the color of the text only in the backend of the DNN! The text within the container in the frontend only changes if I change the properties of a specific class in the skin.css file named after .SubHead. The same happens for the hyperlinks within the container and so on... I can change them only by changing the classes of the skin.css file, but in this way I also change all the hyperlinks of the page! 

So, this is it... :( Any suggestions?

 

Howabout you let us take a peak at all the code.  Paste in in a legible format using the "past as plain text" icon in the text editor here on the forms, then highlight the important stuff, but include it completly.

Are you overriding everything?  Meaning, if you have two classes in two files you are aware that they both apply?  There are some wierd issues with things like font: compared to font-size etc etc.  sometimes when overriding, the attributes that are decared in a single line like font: or margin: instead of margin-left:  will not override properly.

 

 


Josh Martin
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Urgent: CSS Priority in DNN
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP