
21-10-2006, 15:40
|
|
|
|
חבר מתאריך: 24.01.06
הודעות: 32
|
|
|
בעיה עם style
שלום
כתבתי קובץ css וככה הוא נראה:
קוד:
<style>
table.profiletd{background: #000000;
font-family: arial;
color: #ffffff;
padding-left: value;
padding-right: value;
padding-top: value;
padding-bottom: value;
padding: value;
border-style: solid;
border-color: #000000;
border-width: 0px;}
body{margin:0; width:100%;
height:100%;
font-family: arial;
font-size: 12px;
BACKGROUND: #000000;
line-height: 12px;
color: red;
scrollbar-HIGHLIGHT-color:#000000;
scrollbar-TRACK-color: #000000;
scrollbar-3DLIGHT-color: #000000;
scrollbar-ARROW-color:#ffffff;
scrollbar-SHADOW-color: #000000;
scrollbar-FACE-color: #000000;
cursor: default;
text-align: normal
}
table{background: #ffffff;
padding-left: value;
padding-right: value;
padding-top: value;
padding-bottom: value;
padding: value;
border-style: solid;
border-color: #000000;
border-width: 0px;}
tr, td{background: #000000;
font-family: arial;
color: #ff0000;
padding-left: value;
padding-right: value;
padding-top: value;
padding-bottom: value;
padding: value;
border-style: solid;
border-color: #000000;
border-width: 0px;}
A:link{
color: #ff0000;
text-decoration: none;
font-style: normal;
font-weight: normal;
cursor: default;
text-transform: none;
}
A:visited{
color: #ff0000;
text-decoration: none;
font-style: normal;
font-weight: normal;
cursor: default;
text-transform: none;
}
A:active{
color: #ff0000;
text-decoration: none;
font-style: normal;
font-weight: normal;
cursor: default;
text-transform: none;
}
A:hover{
color: #ffffff;
text-decoration: none;
font-style: normal;
font-weight: normal;
cursor: default;
text-transform: none;
}
</style>
הוא גרם לדף שלי להראות כך:
http://img155.imageshack.us/img155/...ntitled4ce9.gif
כמו שאתם רואים,כל הדף שחור,ורק הכותרות של הטבלאות לבנות(אלה תמונות)
מה שהופך את הכותרות ללבנות זה הקוד הבא:
קוד:
<table width=140 cellpading=0 cellspacing=0 style='background-repeat:repeat-y; background-image:url(images/layout/borders/menu_middle.png);'>
<tr background=images/layout/borders/menu_top.png width=140 height=14>
<td><img src=images/layout/borders/menu_top.png width=140 height=14></td>
זהו משחק רשת(לא בבעלותי,כמובן)אבל אפשר לשלב בפרופיל של השחקן קבצי css.
יש דרך בה אני אוכל לשנות את התמונות הלבנות או משהו דומה,כך שיהיו שחורות?
מקווה שהבנתם.
תודה 
|