• jinsan

    (@jinsan)


    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)
  • northernpassages

    (@northernpassages)

    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?

    Thread Starter jinsan

    (@jinsan)

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

    northernpassages

    (@northernpassages)

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

    Thread Starter jinsan

    (@jinsan)

    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:

    https://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

    northernpassages

    (@northernpassages)

    Try putting that line in your header like so instead:

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

    See if that fixes it.

    victr9

    (@victr9)

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

    Thread Starter jinsan

    (@jinsan)

    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*

    victr9

    (@victr9)

    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.

    Thread Starter jinsan

    (@jinsan)

    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.