Зацените

Автор VVVas, 03 апреля, 2005, 01:53:12

« назад - далее »

abram4

Валидатор показал 49 ошибок.
Выпадающая менюшка внизу никчемно смотрится.
Ну и все-таки про дизайн - ИМХО, слишком яркие зеленые цвета, глаз режет.

VVVas

Переделано по другому, перезалито.
Валидатор это конечно хорошо, но меня больше интересует тип реализации: может это эффективней сделать не таблицами?

теперь насчет валидатора, всё в принципе понятно, только это не пойму
ЦитироватьLine 117, column 88: element "NOBR" undefined

...ss="contacts">office@hnt.ru</a> <nobr>телефон: (095) 788-54-23</nobr><

You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
Чем им не нравится nobr?

И вот это
ЦитироватьLine 17, column 70: there is no attribute "BACKGROUND"

...align="left" valign="top" background="_img/bg1.gif"><img src="_img/corn1.gif"

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.
Совсем не понял, почему ругнулся, только в одном месте, их у меня гораздо больше?

abram4

А что если все-таки doctype объявить ? Типа
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

По поводу <nobr> Влад Мержевич пишет :
ЦитироватьНесмотря на то, что тег NOBR давно прижился во всех браузерах, в официальном HTML он не упоминается.
Потому валидатор и ругается :)

VVVas

abram4
Спасибо, попробуем всё же добавить.

За NOBR опять же спасибо - будем тыкать &nbsp.