Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Why does solpart cause a page to fail CSS validation?Why does solpart cause a page to fail CSS validation?
Previous
 
Next
New Post
9/10/2008 7:47 PM
 

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 2:02 PM
 

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).


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
9/11/2008 2:36 PM
 

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 4:41 PM
 

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


 


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
9/16/2008 6:35 AM
 

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
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Why does solpart cause a page to fail CSS validation?Why does solpart cause a page to fail CSS validation?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out