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  |  

DotNetNuke Marketplace
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

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
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Why does solpart cause a page to fail CSS validation?
Previous Previous
 
Next Next
New Post 9/10/2008 5:47 PM
User is offline James
5 posts
10th Ranked


Why does solpart cause a page to fail CSS validation? 

Any DNN site using solpart for the menu fails w3c CSS validation, but I can't find the exact reason.

For my site I have managed to get the errors down to just this one

"Value Error : cursor hand is not a cursor value : hand "

This appears once for each item on the menu.

Try http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.dotnetnuke.com and look at the last 6 errors. One for each menu item.

Now, nowhere in the code for DNN or the page source can I find where "cursor:hand" is being introduced into the page. It's not in spmenu.js, or anywhere else that I can see. All the stylesheets on my site entered individually into the validator pass, the site as a whole fails with the above errror.

 
New Post 9/11/2008 12:02 PM
User is offline Methuzala
15 posts
www.mogridgedesign.co.za
10th Ranked


Re: Why does solpart cause a page to fail CSS validation? 

Its your CSS.
Check out: http://www.quirksmode.org/css/cursor.html
and
Also: http://www.learnwebdesignonline.com/css-tutorials/cursor-hand-pointer.htm
Sometimes we have to cater for I.E. 5.5 users, and so we end up with these problems.  Only way around this is conditional CSS (per browser).

 
New Post 9/11/2008 12:36 PM
User is offline James
5 posts
10th Ranked


Re: Why does solpart cause a page to fail CSS validation? 

I understand why you would/wouldn't use cursor:hand.

I do not have cursor:hand in any of my stylesheets of any of the DotNetNuke stylesheets. As I said above, all the stylesheets on the page validate if checked seperatly.

Even if I delete all the stylesheets from the page and just leave the solpart menu, the page won't validate. It looks like it's actually something in the solpart menu. But I can't find it in any source view or using a browser debugger.

 
New Post 9/11/2008 2:41 PM
User is offline Methuzala
15 posts
www.mogridgedesign.co.za
10th Ranked


Re: Why does solpart cause a page to fail CSS validation? 

Check out your link from W3C validator...
http://www.dotnetnuke.com/Portals/_default/Skins/DNN-Minimal/skin.css

You have a whole lot of cursor hand popping up in your skin.css file.

.ModuleTitle_MenuBar {
    cursor: pointer;
    cursor: hand;
    height:16;
    background-color: Transparent;
}

.ModuleTitle_MenuItem {
    cursor: pointer;
    cursor: hand;
    color: black;
    font-size: 9pt;
    font-style: normal;
    border-left: white 0px solid;
    border-bottom: white 1px solid;
    border-top: white 1px solid;
    border-right: white 0px solid;
    background-color: Transparent;
}

.ModuleTitle_MenuIcon {
    cursor: pointer;
    cursor: hand;
    background-color: #EEEEEE;
    border-left: #EEEEEE 1px solid;
    border-bottom: #EEEEEE 1px solid;
    border-top: #EEEEEE 1px solid;
    text-align: center;
    width: 15;
    height: 21;
}


You say even if you remove it won't validate...  Does seem odd.  I use solpart all the time, and I've never actually bothered trying to validate it beyond the same error (always  thought it was just the CSS).  Try remove the solpart control from you skin html / ascx file, and the cursor pointer from the css, and run the validation query again.  If it validates you know its deinitely the solpart control.  Not sure if you've tried that...  Seems pretty obvious process of elimination.  But...  at least you'll be sure.  I know the .js file for solpart control also has an arb <tr> in in right at the end of the script that IE picks up and adds like 5 px to the bottom of your menu.  Can be annoying.

Sorry not much help.  Please let us know if you find an answer...


 

 
New Post 9/16/2008 4:35 AM
User is offline James
5 posts
10th Ranked


Re: Why does solpart cause a page to fail CSS validation? 

Hi, thanks for the reply.

I've already done all of this.

I have deleted all of the skin css and made all the DNN css (portal.css and default.css) pass the validator.

If I include the Solpart menu on the page, the page fails the validator on cursor:hand.

If I remove the Solpart menu from the page, the page passes the validator.

The validator seems to suggest the error in ON the page rather than in an external stylesheet. So I'm guessing this is something happening at runtime with the solpart javascript.

I'll do some more testing on this and report back...

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Why does solpart cause a page to fail CSS validation?
 


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.

 


DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com
SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/

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