Forum Moderators: not2easy
I have trouble with the border function. I want to change color on the bottom and top border of a cell, but it simply won't do it. One matter what color code I enter they are displayed as the color #c0c0c0.
Here is some code exampels:
CSS FILE
.newsitem {
border-bottom: 1px solid #dddddd;
border-top: 1px solid #dddddd;
background-color: #ffffff;
}
.newsimage {
background: url("gfx/news.jpg");
}
HTML FILE
<tr>
<td class="newsimage" height="88" width="130">
</td>
<td class="newsitem" height="88" width="336">
</td>
</tr>
I might be seeing your problem as more simplistic than it really is but ......
#dddddd and #c0c0c0 are just 2 different shades of gray right?
I set the following in a style sheet for a table cell ...
border-left-width: 2px;
border-left-style: solid;
border-left-color: #c0c0c0;
border-top-width: 2px;
border-top-style: solid;
border-top-color: #dddddd;
and at 2px I had strain my eyes to tell the difference in shades.
Are your eyes just playing tricks on you?