LordGarfield
IS-IT--Management
HI,
I created a stylesheet and everything works on the page except the style I defined for the body
BODY
{
SCROLLBAR-FACE-COLOR: #d8d8d8;
SCROLLBAR-HIGHLIGHT-COLOR: #d8d8d8;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #d8d8d8;
SCROLLBAR-BASE-COLOR: #d8d8d8;
BACKGROUND-COLOR: #d8d8d8;
}
this is my style for the body. Why is this failing?
maybe it is better to post the full style sheet so here we go
<STYLE>
BODY
{
SCROLLBAR-FACE-COLOR: #d8d8d8;
SCROLLBAR-HIGHLIGHT-COLOR: #d8d8d8;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #d8d8d8;
SCROLLBAR-BASE-COLOR: #d8d8d8;
BACKGROUND-COLOR: #d8d8d8;
}
TABLE
{
BORDER-RIGHT: 1px solid #000000;
BORDER-TOP: 1px solid #000000;
BORDER-LEFT: 1px solid #000000;
BORDER-BOTTOM: 1px solid #000000;
BORDER-SPACING: 0;
border-collapse: collapse;
}
TD
{
FONT-SIZE: 8pt;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
BACKGROUND-COLOR: #d8d8d8;
PADDING: 0;
}
a:link
{
COLOR: blue;
}
a:visited
{
COLOR: purple;
}
a:hover
{
COLOR: red;
BACKGROUND: yellow;
}
a:active
{
COLOR: yellow;
BACKGROUND: red;
}
</STYLE>
The table styles and the link styles all work.
The style sheet is named
test.css and in my html files I call it between the
<head></head> tags
so
<head>
<link href="test.css" rel="stylesheet" type="text/css">
</head>
can anyone help me?
Greetings
Roel.
I created a stylesheet and everything works on the page except the style I defined for the body
BODY
{
SCROLLBAR-FACE-COLOR: #d8d8d8;
SCROLLBAR-HIGHLIGHT-COLOR: #d8d8d8;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #d8d8d8;
SCROLLBAR-BASE-COLOR: #d8d8d8;
BACKGROUND-COLOR: #d8d8d8;
}
this is my style for the body. Why is this failing?
maybe it is better to post the full style sheet so here we go
<STYLE>
BODY
{
SCROLLBAR-FACE-COLOR: #d8d8d8;
SCROLLBAR-HIGHLIGHT-COLOR: #d8d8d8;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #d8d8d8;
SCROLLBAR-BASE-COLOR: #d8d8d8;
BACKGROUND-COLOR: #d8d8d8;
}
TABLE
{
BORDER-RIGHT: 1px solid #000000;
BORDER-TOP: 1px solid #000000;
BORDER-LEFT: 1px solid #000000;
BORDER-BOTTOM: 1px solid #000000;
BORDER-SPACING: 0;
border-collapse: collapse;
}
TD
{
FONT-SIZE: 8pt;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
BACKGROUND-COLOR: #d8d8d8;
PADDING: 0;
}
a:link
{
COLOR: blue;
}
a:visited
{
COLOR: purple;
}
a:hover
{
COLOR: red;
BACKGROUND: yellow;
}
a:active
{
COLOR: yellow;
BACKGROUND: red;
}
</STYLE>
The table styles and the link styles all work.
The style sheet is named
test.css and in my html files I call it between the
<head></head> tags
so
<head>
<link href="test.css" rel="stylesheet" type="text/css">
</head>
can anyone help me?
Greetings
Roel.