форум общения русскоязычных пользователей CMS Текстпаттерн
Вы не зашли.
Было две ошибки, одна моя (пропустил кавычки в значении атрибута), а вот вторая...
Error Line 2 column 62: there is no attribute "lang".
...mlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
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.
Странно, что красным он выделил именно эту кавычку. Наверное, этот тэг вообще не надо указывать?
Неактивен
Все ясно! Нужно так: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
Надо бы заменить в русских сборках :)
Отредактированно Begemot (27-08-2006 03:42:27)
Неактивен
У тебя xhtml 1.1 да? В нем убрали аттрибут lang, поэтому и выделил только эту кавычку.
Неактивен
Так я же и написал, что уже понятно. А 1.1 не только у меня, это сразу было в шаблоне ТхР-компания, я ничего и не менял, да и не смотрел, честно говоря... думал 1.0
Неактивен