P
Paul F. Johnson
Hi,
I have a color attribute set in the body part of my style sheet. This
style sheet is included in the HTML file by the usual
<link href="css/dp.css" rel="stylesheet" type="text/css" />
For some reason, I need some specific pages to use a different text color
for the entire body, I therefore have the following line
<body bgcolor="black" color="#00ffcc" onload="init()">
(The JS is a bog standard NS4 hack to resize the viewing window - it can
be safely ignored)
The color though remains the same as the one defined in the style sheet.
Shouldn't the color defined in the body element of the HTML take priority over
that of the stylesheet?
TTFN
Paul
I have a color attribute set in the body part of my style sheet. This
style sheet is included in the HTML file by the usual
<link href="css/dp.css" rel="stylesheet" type="text/css" />
For some reason, I need some specific pages to use a different text color
for the entire body, I therefore have the following line
<body bgcolor="black" color="#00ffcc" onload="init()">
(The JS is a bog standard NS4 hack to resize the viewing window - it can
be safely ignored)
The color though remains the same as the one defined in the style sheet.
Shouldn't the color defined in the body element of the HTML take priority over
that of the stylesheet?
TTFN
Paul