|
impreza
|
 |
« on: 25.07.2008; 20:29:37 PM » |
|
E ovako, proverio sam svoj sajt na validator.w3.org i prijavljuje mi greske (normalno), e sada neke nisam ynao da protumacim pa evo da pitam vas.
1. Line 92, Column 14: there is no attribute "align".
<h1 align="center"> </h1>
✉
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.
- vase misljenje kako to da otklonim i u cemu je problem?
|
|
|
|
|
Logged
|
|
|
|
jazzman
Ivan Trebješanin
SITE ADMIN
Hero Member
Online
Posts: 1406
|
 |
« Reply #1 on: 25.07.2008; 22:41:57 PM » |
|
- vase misljenje kako to da otklonim i u cemu je problem?
Pa gore imaš lepo sve obješnjeno, tako da je glupo da ti sad neko ovde prevodi to objašnjeje.
|
|
|
|
|
Logged
|
I've got a snap in my finger... Got rhythm in my walk...
|
|
|
|
impreza
|
 |
« Reply #2 on: 26.07.2008; 00:06:02 AM » |
|
ne razumem zasto nije podrzan i koje atribute treba da koristim kada vec ovi nisu tacni?
|
|
|
|
|
Logged
|
|
|
|
|
Hellas
|
 |
« Reply #3 on: 26.07.2008; 01:13:14 AM » |
|
mozda da koristis transitional umjesto strict?
|
|
|
|
|
Logged
|
|
|
|
jazzman
Ivan Trebješanin
SITE ADMIN
Hero Member
Online
Posts: 1406
|
 |
« Reply #4 on: 26.07.2008; 01:39:36 AM » |
|
ne razumem zasto nije podrzan i koje atribute treba da koristim kada vec ovi nisu tacni?
Nije podržan jer je smisao "web 2.0" tehnologije da se odvoji struktura od sadržaja. Kada u strkuturni element ubaciš vizuelni atribut, a pri tom u hederu izjaviš da se dokument striktno pridržava xml specifikacije, naravno da neće biti validan. Rešenje može da izgleda ovako nekeko: <h1 class="naslov"> </h1> Zatim u css ubaciš: .naslov {text-align: center}
|
|
|
|
|
Logged
|
I've got a snap in my finger... Got rhythm in my walk...
|
|
|
|
impreza
|
 |
« Reply #5 on: 26.07.2008; 03:52:07 AM » |
|
Posto ima 13 takvih gresak, i jedan nedefinisan iframe, dali moram za svaku od tih 13 gresaka kucati u css novi stil?
|
|
|
|
|
Logged
|
|
|
|
|
Tomislav
|
 |
« Reply #6 on: 26.07.2008; 03:54:20 AM » |
|
Posto ima 13 takvih gresak, i jedan nedefinisan iframe, dali moram za svaku od tih 13 gresaka kucati u css novi stil?
Ako je 13 istih, ne. Dakle, ako ti 13 puta za isto to pokaže grešku, onda ne moraš pisat. Ako imaš 13 različitih, onda moraš.
|
|
|
|
|
Logged
|
|
|
|
|
impreza
|
 |
« Reply #7 on: 26.07.2008; 03:59:51 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
impreza
|
 |
« Reply #8 on: 26.07.2008; 04:19:57 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
sin2384
GLOBAL MODERATOR
Hero Member
Offline
Posts: 1303
|
 |
« Reply #9 on: 26.07.2008; 07:16:02 AM » |
|
Reci i ti njemu da je invalid!  Šala. 
|
|
|
|
|
Logged
|
|
|
|
|
impreza
|
 |
« Reply #10 on: 26.07.2008; 17:41:35 PM » |
|
Evo posle ove validacije nekih od mojih stranica, odem i pogledam ostale stranice koliko su validne a koliko ne, zaprepastio sam se kad sam video da skoro ni jedna nije validna!!!
|
|
|
|
|
Logged
|
|
|
|
jazzman
Ivan Trebješanin
SITE ADMIN
Hero Member
Online
Posts: 1406
|
 |
« Reply #11 on: 26.07.2008; 18:27:18 PM » |
|
Ako hoćeš da se baviš webom, moj ti je savet da odvojiš neko vreme za učenje HTML-a, jer bez toga nema ništa. Danas je webmaster svako ko ume da upravlja mišem, jer to je dovoljno za instalaciju nekog CMS-a. Ali, ako ozbiljnije uđeš u posao videćeš da je to ipak zanat. 
|
|
|
|
|
Logged
|
I've got a snap in my finger... Got rhythm in my walk...
|
|
|
|
|
kraguljac
MODERATOR
Hero Member
Offline
Posts: 561
|
 |
« Reply #13 on: 26.07.2008; 21:43:14 PM » |
|
Imaš ispit za webmastera? 
|
|
|
|
|
Logged
|
|
|
|
|
impreza
|
 |
« Reply #14 on: 26.07.2008; 22:27:56 PM » |
|
He he he iz toga ne to sam polozio, ali zato nisam termodinamiku, mehaniku fluida, mehaniku sistema, masinogradnju i ostala sranje...
|
|
|
|
|
Logged
|
|
|
|
|