You are here: Re: not valid HTML error « HTML « IT news, forums, messages
Re: not valid HTML error

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация