![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 54 Pomógł: 0 Dołączył: 5.04.2005 Ostrzeżenie: (0%) ![]() ![]() |
Witam, mam taki problem, robię stronę w XHTML 1.1 i używam elementu <marquee> który nie jest w nim dozwolony, podczas walidacji trzymałem podpowiedź że <marquee> można to zastąpić CSS'em, tylko że ja nie wiem jak. Jeśli macie jakieś pomysły to piszcie będę wdzięczny.
|
|
|
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 7 494 Pomógł: 302 Dołączył: 31.03.2004 Ostrzeżenie: (0%) ![]() ![]() |
<marquee> nie dość że go nie ma w XHTML 1.1 (i dobrze) to nigdy w żadnej specfikacji czegoś takiego nie było
![]() M$ sobie to wymyslił a nie W3C. Możesz to zrobić w JS bo w CSS z tego co wiem nie da się tego zrobić. Np.: Cross Browser marquee |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 54 Pomógł: 0 Dołączył: 5.04.2005 Ostrzeżenie: (0%) ![]() ![]() |
w JS wiem że sie da, ale w walidatorze pisze że można za pomocą CSS
Tu jest co mi pisze: Cytat Error Line 21 column 45: element "marquee" undefined.
..."stop"></div><div id="pasek"><marquee>..... 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), * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case. |
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 562 Pomógł: 15 Dołączył: 8.08.2003 Skąd: Denmark/Odense Ostrzeżenie: (0%) ![]() ![]() |
Jedyne co mozesz zrobić w CSS to text-decoration: blink. Ale nie rób tego. Nikt nie chce żeby mu coś blink'ało w oczy - na prawdę, uwierz mi.
-------------------- Prank - for the fun. Mac - for the simplicity. Deviantart - for the kick.
Life is ours, We live it our way -- Metallica |
|
|
![]()
Post
#5
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Cytat by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). Pisza ogolnie, ze niektore tagi mozna zastapic zazwyczaj ("usually") CSSem. Marquee wymagalo by np. dynamicznego zmieniania przesuniecia i wyciecia (clip) warstwy -- co jest do zrealizowania za pomoca JS, a nie samego css. Przynajmniej ja nie spotkalem sie z rozwiazaniem tego w css. -------------------- Nie lubię jednorożców.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 08:20 |