18-06-09, 16:19 | # 1 |
חבר מתקדם
|
תקינות של HTML/CSS
אוקי קראתי קצת על XHTML ושיפרתי קצת את הבעיות שהיו לי..
נשארה לי רק משו' בCSS ועוד כמה בHTML.. שאני צריך לתקן.. זה השגיאות של הCSS: Same colors for color and background-color in two contexts .w and a:link.white Same colors for color and background-color in two contexts .w and a:visited.white Same colors for color and background-color in two contexts .w and a:hover.white Same colors for color and background-color in two contexts .w and a:active.white Same colors for color and background-color in two contexts .w and .copyright וזה הקוד CSS של הדברים שיש בהם בעיה: קוד:
a:link.white {color: #ffffff; text-decoration: none} a:visited.white {color: #ffffff; text-decoration: none} a:hover.white {color: #ffffff; text-decoration: none} a:active.white {color: #ffffff; text-decoration: none} .w { background-color: #ffffff; vertical-align: top; } איך מתקנים את זה? ומה בכלל הבעיה? ================================================== ======== קודדתי אתר. עכשיו יש בו index.htm וiframe בתוכו. עשיתי הכל כמו שצריך. אבל זה לא מראה את הiframe. כשאני עושה doctype זה לא מראה. וכשאני לא עושה doctype זה מראה. מה עושים? זה הdoctype ששמתי: קוד:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> תודה לעוזרים.. :]
__________________
🎧
|
19-06-09, 12:38 | # 2 | |
Авторитет
|
בעיקרון השגיאה היא שצבע הטקסט וצבע הרקע הם דומים.שנה אחד מהם.
__________________
ציטוט:
|
|
19-06-09, 13:13 | # 3 |
חבר וותיק
|
עושים ככה כל class :
a.white:link סך הכל עשית הפוך.. ממליץ לך לעשות משהו כזה, בשביל לפתור בעיות כמו שMAYDEN אמר שכנראה יש לך: HTML קוד:
body{color:black}; |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|