Валидиране на сайт

MontefuckeR

Registered
А сега де? дава ми такава грешка:

Line 31, Column 145: there is no attribute "border".
…rc='upload/thumb/no_pic.jpg ' border="0"></a></div>✉
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/check?uri=http%3A%2F%2F99clips.net%2Fimoti%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
 
FestarBG каза:
style="border:1px solid black;"
Явно вече бордер='0' или бордер='1' не е стандартен така ли?
добре виж сега каква грешка ми дава с див таговете...
 
#id - може да се използва само по веднъж в целия документ.Затова си направи класовете vip_options,vip_glaven,vip_pic да са ти касове,тоест в css-a да не са с #, а със точка (.)

Код:
.vip_glaven

И после class="vip_glaven"... :wink:
 
MontefuckeR каза:
FestarBG каза:
style="border:1px solid black;"
Явно вече бордер='0' или бордер='1' не е стандартен така ли?
добре виж сега каква грешка ми дава с див таговете...
че кога е бил валиден при STRICK?
* { border: 0; }
 
Я кажете сега тук кво да правя:
http://validator.w3.org/check?uri=http%3A%2F%2F99clips.net%2Fimoti%2Fadd.php&charset=%28detect+automatically%29&doctype=Inline&group=0
 
1. onKeyDown и onKeyUp ги направи да са с малки букви ( -4 )

2. readonly го променяш на readonly="readonly" ( -12 )

3. maxlength='600' го изтрий, при textarea доколкото знам не става ( -1 )

4. намери </div><br /> и изтрий <br /> или го сложи преди </div> ( -1 )

5. намери
var url = "?ajax=1&oblast="+oblast+"&rid="+Math.random();
и го замени с
var url = "?ajax=1&oblast="+oblast+"&rid="+Math.random();
( -6 )


Честито! This Page Is Valid XHTML 1.0 Strict! ;)
 
DJCharge каза:
1. onKeyDown и onKeyUp ги направи да са с малки букви ( -4 )

2. readonly го променяш на readonly="readonly" ( -12 )

3. maxlength='600' го изтрий, при textarea доколкото знам не става ( -1 )

4. намери </div><br /> и изтрий <br /> или го сложи преди </div> ( -1 )

5. намери
var url = "?ajax=1&oblast="+oblast+"&rid="+Math.random();
и го замени с
var url = "?ajax=1&oblast="+oblast+"&rid="+Math.random();
( -6 )


Честито! This Page Is Valid XHTML 1.0 Strict! ;)
5. като го направя така и скрипта вече не работи..
3. Трябва ми това щото си работи..
 
MontefuckeR каза:
3. Трябва ми това щото си работи..
Ай пък да не си работи.. а и ти пробва ли да го махнеш ?
Нали отделно си имаш скрипт за тея 600 символа, би трябвало да работи!

П.С. при textarea няма maxlength .. не вярваш?

Пробвай: <textarea maxlength="3"></textarea>
 
DJCharge каза:
MontefuckeR каза:
3. Трябва ми това щото си работи..
Ай пък да не си работи.. а и ти пробва ли да го махнеш ?
Нали отделно си имаш скрипт за тея 600 символа, би трябвало да работи!

П.С. при textarea не работи maxlength
Е добре да предположим, че няма да си изключват ЖС_та и няма да правят мизерии...
Тогава остава само тоя амперсанд... :(
 

Back
Горе