|
Posted by Els on 10/06/06 14:32
John Salerno wrote:
> John Salerno wrote:
>> I got this error while validating my page:
>
> I wonder if someone could explain this to me also. It validates, but I
> don't understand the warnings:
>
> Warnings
> URI : http://python.johnjsalerno.com/xrc_tutorial.css
>
> * Line : 6 (Level : 1) This property applies to block-level
> elements. : h1
This one is superfluous imo, as h1 *is* a block-level element. It's
perfectly correct and logical to set text-align:center for h1. I don't
know why the validator feels the need to call your attention to it.
> * 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.
--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Now playing: Daryl Hall and John Oates - Rich Girl
Navigation:
[Reply to this message]
|