02-01-2009, 15:11
|
מנהל מולטימדיה
|
|
חבר מתאריך: 07.12.07
הודעות: 1,955
|
|
קביעת סגנון כללי וייחודי על פי מזהה ID לאלמנטים (CSS) | לא עובד
שלום!
אני מנסה להגדיר סגנון לקישורים באתר שלי.
סגנון הברירת מחדל (הכללי), הוא מוגדר פשוט כך:
קוד:
a:link, a:visited, a:active { text-decoration: none; color: #FFFFFF; }
a:hover { text-decoration: none; }
לעומת זאת, לDIV בעל ID שנקרא bottomlinks אני רוצה לתת סגנון שונה.
אני מנסה לעשות זאת כך:
קוד:
#bottomlinks a:link
{
text-decoration: none; color: #5D5D5D;
}
#bottomlinks a:visited
{
text-decoration: none; color: #5D5D5D;
}
#bottomlinks a:active
{
text-decoration: none; color: #5D5D5D;
}
#bottomlinks a:hover
{
text-decoration: none;
}
והעניין פשוט לא עובד.
מה לא נכון?
_____________________________________
|