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  |  

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


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

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.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


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
1778 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
1628 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.

 


Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com

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