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

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

-VladK- 18-05-06 15:11

CSS תקין (עזרה)
 
שלום.
אני רוצה לעבוד על פי התקן של W3C...הכל טוב ויפה בבדיקת HTML וזה אבל כשאני בודק CSS יש לי את זה:
קוד:

Line : 3 font-family: You are encouraged to offer a generic family as a last alternative
Line : 3 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : *
Line : 24 font-family: You are encouraged to offer a generic family as a last alternative
Line : 24 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : .title

משהו יכול להגיד לי מה הן אומרות?

הנה קוד הCSS שלי:
HTML קוד:

* {
background-color: #FFF;
font-family : Arial;
font-size : 10pt;
color: #000;
}
.body {
text-align : center;
}
.base {
width : 780px;
}
.main {
text-align : right;
border : 1px solid #e6e6e6;
border-collapse : collapse;
}
.title {
text-align : center;
background-color : #e3e3e3;
color : #fff;
font-weight : bold;
font-size : 12pt;
font-family : tahoma;
margin-right : 1px;
margin-left : 1px;
margin-bottom : 3px;
margin-top : 1px;
height : 30px;
}
.detailA {
text-align : right;
float : right;
height : 24px;
margin-right : 1px;
margin-left : 1px;
}
.detailB {
text-align : left;
float : left;
margin-right : 1px;
margin-left : 1px;
}
.content {
text-align : right;
width : 776px;
}

ואם אתם צריכים הנה הבדיקה:
http://jigsaw.w3.org/css-validator/v...usermedium=all

wildeye 18-05-06 16:50

לא ניראה לי שצריכה להיות בעיה זה קוד מוכן ..

BlueNosE 18-05-06 16:55

ההודעות מופיעות כWarnings או כErrors?

-VladK- 18-05-06 17:04

בקשר להודעה של גיא...מי אמר שזה מוכן? מה אני לא יכול לבד להכין קודי CSS?
בקשר להודעה של עומר...זה מופיע כWARNING

BlueNosE 18-05-06 17:08

אהה אז זאת לא בעיה.
האתר שלי תקין ו..:
http://jigsaw.w3.org/css-validator/v...usermedium=all
תראה כמה אזהרות

-VladK- 18-05-06 17:16

בסדר אבל אצלך הוא כותב שהכל תקין עם אזהרות וזה אבל אצלי הוא לא כותב שהכל תקין...הכוונה לזה:
קוד:

Congratulations!
 This document validates as CSS!

To show your readers that you've taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the XHTML you could use to add this icon to your Web page:

 
<p>
 <a href="http://jigsaw.w3.org/css-validator/">
  <img style="border:0;width:88px;height:31px"
      src="http://jigsaw.w3.org/css-validator/images/vcss"
      alt="Valid CSS!" />
 </a>
</p>


BlueNosE 18-05-06 18:46

הכוונה היא שנתת להם טקסט והם לא ינפיקו לקובץ שמתחיל בfile:// אישור כזה.. תחשוב בהיגיון

-VladK- 18-05-06 18:55

ואלה...טנקס...אפשר לנעול


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

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