Support » Requests and Feedback » Fancy tooltips Invalidates site

  • Hmmm… Just wondering whether there should be just as much a stringent application on plugins in for WP to be valid in their workings, as much as emphasis is put on the designof themes.

    I only recently checked my site out of curiosity to see if it would validate – and it wouldn’t. All the errors came from Fancy Tooltips with moz-blahblah within the CSS coming up as invalid.

    If validation is such an important issue, surely plugins should be valid before submission or at least provide documentation that it will invalidate?

Viewing 9 replies - 1 through 9 (of 9 total)
  • I use them on my site and it validates just fine – though I chose a solid background colour, I’m guessing it’s a problem with the opacity?

    hmmm it’s possible I don’t know for certain against the CSS validator spews out error after error

    swing by my site and check out my CSS for it here.

    Well I found this error in validating my page as 1.0 strict it’s fancytool tips related, any idea on this – not sure on teh resolution:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sekhu.net%2Fwp%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&verbose=1

    Try putting that line in your header like so instead:

    <script type=”text/javascript” src=”http://sekhu.net/wp/wp-content/plugins/fancytooltips/fancytooltips.js”></script>

    See if that fixes it.

    @jinsan: To fix your validation errors, simply edit the fancytooltips.css file and remove all references to -moz-(whatever). You will not have the funky rounded corners, but it will validate properly. The thing is, all browsers but Mozilla based ones simply ignore the -moz values, but the validator looks at it from a 3rd person view and sees it as invalid. Believe me when I say it will not affect the display of your page. Remove it if you want, but you can safely keep it.

    @northernpassages: The FancyToolips script is coded to work in the more popular XHTML 1.0 Transitional doctype. If you want to have it verify in XHTML 1.0 Strict, remove the language=”javascript” value from the fancytooltips.php file. It’s easy, but if you need help just ask.

    thanks for the suggestions guys – it’s just well, there’s an anal protocal for validated pages, so….I’ll have to remove the opacity feature. It’s a shame W3C don’t support it, but they probably will if IE supports it *cough*

    It’s not that W3C doesn’t suport it, it’s just that they didn’t standardize it. when a ‘-‘ is placed before a value in CSS, theoretically, a browser ignores it. Mozilla based browsers (Netscape, Mozilla, Firefox, Camino, ect.) are coded to find -moz items and render them in the page. It’s a browser specific code. W3C doesn’t ignore the code, because it’s looking at it peice by peice. Perhaps if IE were to pick it up, W3C would be lenient enough to allow it. But, W3C doesn’t condol the use of it.

    Ok well I left it in, screw W3C!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fancy tooltips Invalidates site’ is closed to new replies.