|
Posted by John Salerno on 10/06/06 14:44
John Salerno wrote:
> Els wrote:
>
>>> * Line : 12 (Level : 1) You have no color with your
>>> background-color : .codeblock
>>
>> This is because you have not set a colour for the text in .codeblock.
>> This could potentially cause an inherited text colour to be the same
>> as the set background-color. Not an error, but a warning to pay
>> attention to styles that could cause problems in certain situations.
>>
>
> Thanks once more! If I wanted to do this, would I just use the 'color'
> property to set text color? It seems too general of a name, but that's
> what's listed on the reference site I'm looking at.
Nevermind, a simple test showed that this is the property to use! Seems
like it should be 'text-color', or something more specific...
Navigation:
[Reply to this message]
|