הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   איך אני כותב את זה ( xhtml ) (https://hosts.co.il/forums/showthread.php?t=18394)

amirs_5 25-03-06 11:16

איך אני כותב את זה ( xhtml )
 
יש לי ..

act=idx&CODE=logout

השגיאה שמופיעה :

cannot generate system identifier for general entity "CODE".

אז איך אני יכול לכתוב את זה הרי אם אני יכתוב

act=idx&CODE="logout"

זה לא יעבוד ..

Alter 25-03-06 11:30

במקום & תכתוב
קוד:

&
וזה יסדר את הבעיה.
אם לא, תראה את השגיאה =]

amirs_5 25-03-06 11:49

ואללה עובד אחי :)
יש לי עוד שאלה ..
רשמתי
<hr color="#FFFFFF" />

השגיאה :
there is no attribute "color".

אבל יש צבע לבן =]]
איך מסדרים את זה !?

Alter 25-03-06 12:17

תנסה קצת ללמוד CSS
קוד:

<hr style="background-color:#FFFFFF;" />

amirs_5 25-03-06 12:24

ציטוט:

נכתב במקור על ידי Alter
תנסה קצת ללמוד CSS
קוד:

<hr style="background-color:#FFFFFF;" />

צודק לא יזיק :)
תודה ..

יש לי רק עוד שאלה קטנטונת ואחרונה חח נראה לי שיגעתי אותך ...
לא הולך לי ה marquee זאת השגיאה שהוא הביא..
element "marquee" undefined.
לא הולך לי =]
<marquee id="scroller" height="120" onmouseover="this.stop();" onmouseout="this.start();" scrolling="no" scrollAmount="1" scrollDelay="3" direction="up">בלה בלה</marquee>

Alter 25-03-06 12:33

הפלת אותי, וכל אחד שמנסה לעשות אתר תיקני.
marquee הוא לא חוקי מבחינת W3C.
אין לזה תחליף, שום דבר..
לכן, לא ניתן לתקן את הקוד.

amirs_5 25-03-06 13:11

בW3C רשום שצריך לעשות שם לפני המקרווי <frameset>

Alter 25-03-06 13:30

אי אפשר, כי הframeset לא יכול להיות בתוך דף עם body
ככה שאיך שלא תנסה להכניס marquee זה לא יעבוד לך.

amirs_5 25-03-06 13:32

זה מה שרשום ב W3C

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.

LosNir 25-03-06 14:51

תהנה :)
http://www.hosts.co.il/forums/showth...hlight=marquee


כל הזמנים הם GMT +2. הזמן כעת הוא 18:19.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ