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  |  

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


  Ads  
DotNetNuke Hosting
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
 


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
1488 posts
6th 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
1438 posts
6th 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.

 


Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com

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