Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Интернет » Web-программирование » Проверка валидатором w3.org

Модерирует : Cheery

 Версия для печати • ПодписатьсяДобавить в закладки

Открыть новую тему     Написать ответ в эту тему

jordanp

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Здраствуйте,пожалуйста помогите валидират мой сайт. Через валидатор w3.org успел уменшить ошибки, и остались только 5, но не могу их изправить.Посмотрите все ошибки на етой ссылке   .

Всего записей: 10 | Зарегистр. 21-05-2007 | Отправлено: 22:29 09-03-2008
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
jordanp
а может просто скопируем сюда сообщения об ошибке?

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 22:44 09-03-2008
jordanp

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Да,извините!
 
Вот и ошибки:

Line 46, Column 43: there is no attribute "BACKGROUND".
    <td width="12" rowspan="14" background="gif/arabeska-1.GIF">&nbsp;</td>

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.  
 
 
 
 Line 49, Column 47: there is no attribute "HEIGHTight"...="236"><table width="556" height='218' border="0" cellpadding="0" cellspa
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.  
 
 
Line 107, Column 90: there is no attribute "BORDERCOLOR".
…ding="0" cellspacing="0" bordercolor="#000000">

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.  
 
 
 Line 179, Column 33: document type does not allow element "TD" here; assuming missing "TR" start-tag.
      <td height="30" colspan="2">&nbsp;</td>

 
 
Line 181, Column 34: document type does not allow element "TD" here; assuming missing "TR" start-tag.
       <td height="12" colspan="2"><div align="center"><img src="gif/red line.GIF


Всего записей: 10 | Зарегистр. 21-05-2007 | Отправлено: 23:02 09-03-2008
andead



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору

Цитата:
Line 46, Column 43: there is no attribute "BACKGROUND".

фон нада задавать через css

Код:
background-image: url(gif/arabeska-1.GIF);

 

Цитата:
 Line 49, Column 47: there is no attribute "HEIGHTight"...="236"><table width="556" height='218' border="0" cellpadding="0" cellspa

аналогично только с height
 

Цитата:
Line 107, Column 90: there is no attribute "BORDERCOLOR".

в css
Код:
border-color: #000000;

 

Цитата:
 Line 179, Column 33: document type does not allow element "TD" here; assuming missing "TR" start-tag.  
      <td height="30" colspan="2">&nbsp;</td>

td должен быть вложен в tr
 
Добавлено:
неплоха бы doctype ещё узнать

Всего записей: 1821 | Зарегистр. 22-09-2005 | Отправлено: 23:06 09-03-2008
afiget



Full Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору

Цитата:
неплоха бы doctype ещё узнать

Вообще-то с этого нужно было начинать

Всего записей: 545 | Зарегистр. 31-12-2005 | Отправлено: 01:03 10-03-2008
jordanp

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору

Цитата:
неплоха бы doctype ещё узнать

 
Да,вообще не заметил,вот и <!DOCTYPE
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Всего записей: 10 | Зарегистр. 21-05-2007 | Отправлено: 14:41 10-03-2008
Evol_Rolex

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
кто-нибудь знает что он хочет от меня?
Line 115, Column 23: Misplaced non-space characters insided a table.
 
<tr class="cart-order"><td align="left"><b><a href="http://dom/katalog-oborudov…
 
код:
 
<table>
        <tbody>
<tr class="cart-order"><td align="left"><b><a href="http://dom/katalog-oborudovaniya/sputnikovyie-antennyi/kopiya-antenna-1">Копия Антенна 1</a></b> </td><td>0 руб.</td><td>
<input class="shk-count" type="text" size="2" name="count[]" maxlength="3" title="изменить количество" value="1">
</td>
<td align="right">
<a href="http://dom/katalog-oborudovaniya/sputnikovyie-antennyi/?shk_action=del&amp;n=0" title="Удалить" class="shk-del"><img src="assets/img/krest.png" width="17" height="17" alt="Удалить" /></a>
</td>
</tr>
        </tbody>
</table>

Всего записей: 7 | Зарегистр. 14-12-2006 | Отправлено: 17:41 07-10-2013
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Evol_Rolex
лучше бы ссылку дали..
 

Цитата:
Line 115, Column 23: Misplaced non-space characters insided a table

в уникоде &nbsp; сущность имеет свой код, который отображается как пробел. может на него и ругается - посмотрите 115 строку и 23 символ от начала.

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 20:23 07-10-2013
Evol_Rolex

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Cheery
сайт на локалке пока
неразрывных пробелов там нет
 
плагин валидатора для файрфокс переводит ошибку как "неверно размещенные непробельные символы внутри таблицы"
 
UPD: действительно, убрал отступы от tbody до tr и перестало ругаться, спасибо!
 
<table>
        <tbody>
          &#65279;
 
<tr class="cart-order"><td><b><a href="http://dom/katalog-oborudovaniya/sputnikovyie-antennyi/kopiya-antenna-1">Копия Антенна 1</a></b> </td><td>0 руб.</td><td>

Всего записей: 7 | Зарегистр. 14-12-2006 | Отправлено: 22:54 07-10-2013 | Исправлено: Evol_Rolex, 23:21 07-10-2013
Открыть новую тему     Написать ответ в эту тему

Компьютерный форум Ru.Board » Интернет » Web-программирование » Проверка валидатором w3.org


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru