Thanx Christian.
The DTD solved my problem, thanx for the solution.
/Fredrik
Christian Mattar wrote:
> Hi!
>
> Fredrik Larsson wrote:
>
>> Hi,
>>
>> Is there some one that knows how CSS color attribute shulde work?
>> What I want to do is to specify the text color for a table row,
>> this works fine in IE but Mozilla0.8 won't add the specifyed color.
>>
>> Is this a known bug for Mozilla or is this wrong way to do this?
>>
>> <html>
>> <head>
>> </head>
>> <body>
>> <table>
>> <tr STYLE="color: green; background: black"><td>green color</td></tr>
>> <tr><td>no green color</td></tr>
>> </table>
>> </body>
>> </html>
>
>
> I think this only works in strict mode.
> Use the following DTD at the top of your document:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
> "http://www.w3.org/TR/REC-html40/strict.dtd">
>
> Christian