|
|
|
| Вот всю ноч мучал главную страницу сайта на устранение ошибок.
Изначально было всего ничего 700+ штук.
Сейчас только 3, но они странные, одну убираеш поевляеться другая аналогичная хотя раньше невыдавало это как за ошибку.
Вот ошибочки:
there is no attribute X
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 20, column 294: Attribute "HEIGHT" is not a valid
attribute. Did you mean "height"?
…1" alt=""><table width="80%" height="50"><tr><td valign="bottom" align="right
Line 20, column 453: Attribute "BACKGROUND" is not a valid attribute. Did you mean "background"?
…e border="0" height="37" background="z1.png" cellspacing="0" cellpadding="0"
Line 26, column 31: Attribute "BACKGROUND" is not a valid attribute. Did you mean "background"?
<tr><td width="19" background="menu11.png" ></td><td width="143" height="400" ba
|
Ему нен равяца безобидные атрибуты height и background.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Можно конечно вынести все эти значения в CSS но не на 100 же таблиц делать CSS.?
Может кто сталкивался с подобным и знает что делать? или как обойти? | |
|
|
|
|
|
|
|
для: tim313
(29.08.2009 в 10:50)
| | все 100таблиц разные? если одинаковые, задайте один класс, если разные
<table width="80%" height="50">
на
<table ыенду="width:80%;height:50px"> | |
|
|
|
|
|
|
|
для: AlexSol
(29.08.2009 в 12:10)
| | Да можно и через style , странно что к height он придераеться а к width нет. | |
|
|
|