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  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  CSS Help Please
Previous Previous
 
Next Next
New Post 3/26/2008 10:16 PM
User is offline James Martinez
5 posts
10th Ranked


CSS Help Please 

I have a dnn site with a custom skin. Problem is some elements of the style sheets show while others do not. I have 4 style sheets that are applied to the site

<link id="_Portals__default_" rel="stylesheet" type="text/css" href="/Portals/_default/default.css" /><link id="_Portals_0_Skins_Skins_" rel="stylesheet" type="text/css" href="/Portals/0/Skins/Skins/skin.css" /><link id="_Portals_0_Containers_Containers_" rel="stylesheet" type="text/css" href="/Portals/0/Containers/Containers/container.css" /><link id="_Portals_0_" rel="stylesheet" type="text/css" href="/Portals/0/portal.css" />

 

I have not overwritten any elements in the portal.css or the defautl.css. I have elements in the skin.css that should apply to create the header of the website and set some of the font sizes. I have searched the net most of the day to get as much information as possible. I am still stuck not able to get the elements to apply correctly.

 

Here is the website

www.askthelendingadvisor.com -----Not all of the elements of the skin.css apply when this URL is loaded in the browser

but when I click on a link many of the elements in the skin.css style sheet apply to the page

http://www.askthelendingadvisor.com/Home/tabid/36/Default.aspx

I don't understand why this is occuring. Any ideas?

Thank you

 
New Post 3/27/2008 12:38 AM
User is offline James Martinez
5 posts
10th Ranked


Re: CSS Help Please 

Looks like I found the problem. There was another reference in my portal.ascx that was messing up the hierarchy.

 
New Post 3/27/2008 12:43 AM
User is offline ROBAX
1756 posts
5th Ranked


Re: CSS Help Please 

I've had a look, but I can't see what the actual problem is. The page looks fins and when I click links it looks much the same.

Are you making sure that you Control-F5 to force a refresh whenever you make a style change?

Rob

 
New Post 3/27/2008 1:30 AM
User is offline Timo Breumelhof
1600 posts
5th Ranked




Re: CSS Help Please 
Modified By Timo Breumelhof  on 3/27/2008 4:31:08 AM)

I see two problems.

1. You added the links to the CSS files in the container (inside the body tag, which is not valid and not needed, DNN also adds the links in the header of the page automatically.)

That might be the reason for your problems (I see tha page wide in the first load and narrower on the second), the container css is loaded twice, which could mix up the load order (of the CSS files)

2. There is a double id: MiddleContainer, don't use id's in a containers because it's very likely that it will apear more then once on a page.


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
New Post 4/14/2008 7:48 PM
User is offline James Martinez
5 posts
10th Ranked


Re: CSS Help Please 

Thx you were correct.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  CSS Help Please
 


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.

 


AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com
SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com

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