Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem ze standardami W3C, <div align="right">?
MaKaO
post
Post #1





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 3.05.2003
Skąd: Głogów

Ostrzeżenie: (0%)
-----


Cytat
Line 17, column 11: there is no attribute "align"

<div align="right">

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

Oto problem, nie wiem jak mam to ustawić w CSSie...
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 5)
kicaj
post
Post #2





Grupa: Zarejestrowani
Postów: 1 640
Pomógł: 28
Dołączył: 13.02.2003
Skąd: Międzyrzecz/Poznań

Ostrzeżenie: (0%)
-----


style:
Kod
nazwa
{
    text-align: right;
}
  1. <div id="nazwa">...</div>


--------------------
PHP Developer

"Nadmiar wiedzy jest równie szkodliwy jak jej brak" Émile Zola
Go to the top of the page
+Quote Post
mhs
post
Post #3





Grupa: Zarejestrowani
Postów: 764
Pomógł: 3
Dołączył: 30.04.2003

Ostrzeżenie: (0%)
-----


nie jestem pewien, ale chyba:

  1. <div style="text-align: right"></div>
Go to the top of the page
+Quote Post
MaKaO
post
Post #4





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 3.05.2003
Skąd: Głogów

Ostrzeżenie: (0%)
-----


Dziękuje bardzo, skorzystałem z drugiego sposobu, bo jest dla mnie wygodniejszy, pozdrawiam. cool.gif
Go to the top of the page
+Quote Post
quiris
post
Post #5





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 30.12.2003

Ostrzeżenie: (0%)
-----


Cytat(kicaj_ @ 2004-07-29 16:44:04)
Kod
nazwa
{
   text-align: right;
}

Nie nazwa, ale #nazwa


--------------------
Pozdrowienia
Robert Błaut » Nie tylko o Operze...
Go to the top of the page
+Quote Post
kicaj
post
Post #6





Grupa: Zarejestrowani
Postów: 1 640
Pomógł: 28
Dołączył: 13.02.2003
Skąd: Międzyrzecz/Poznań

Ostrzeżenie: (0%)
-----


Cytat(quiris @ 2004-07-29 18:24:37)
Cytat(kicaj_ @ 2004-07-29 16:44:04)
Kod
nazwa
{
   text-align: right;
}

Nie nazwa, ale #nazwa

Sorrki, racja, ale najlepiej to: div#nazwa smile.gif


--------------------
PHP Developer

"Nadmiar wiedzy jest równie szkodliwy jak jej brak" Émile Zola
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 19:27