...

View Full Version : I am using the spry tools with Dreamweaver CS3 but they do not validate.



nikos101
02-24-2008, 09:02 AM
I am using the spry tools with Dreamweaver CS3 but they do not validate. which is a shame. Is there are a solution to this?



http://validator.w3.org/images/info_icons/error.png Line 98, Column 27: there is no attribute "SPRY:REGION". <div spry:region="services"> ✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fecommercetotal.co.uk%2Fservices.php;errmsg_id=108#errormsg)
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash (http://validator.w3.org/docs/help.html#faq-flash).

abduraooft
02-24-2008, 01:15 PM
I don't know anything about spry, but I'm sure there is no attribute named spry in html.

Apostropartheid
02-24-2008, 04:22 PM
Nope.

You technically could introduce an extra namespace into your document (i.e. xmlns:spry) but the validator is yet to support this.

nikos101
02-24-2008, 07:39 PM
Nope.

You technically could introduce an extra namespace into your document (i.e. xmlns:spry) but the validator is yet to support this.

Hmph.... Thats a shame, that would have been really neat. Now I'm stuck with this expensive software that gives me invalid code :)

Apostropartheid
02-24-2008, 11:59 PM
I thought spry was serverside with ColdFusion? And, like ASP, it uses bits in your HTML code?

_Aerospace_Eng_
02-25-2008, 05:03 AM
Its the spry framework. Its similar to scriptaculous or mootools. I wonder what spry-region refers to. Its likely the id of that element. Maybe change it to id="services" and see what happens? You may have to check for ids if it can find spry-region?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum