You are here: Re: wrong colours « HTML « IT news, forums, messages
Re: wrong colours

Posted by David Dorward on 12/19/05 16:03

David Graham wrote:

> http://www.w3.org/TR/CSS2/box.html#margin-properties
>
> The image illustrating the article on my screen has a yellowish background
> for the the ul element - should be green and blue/purple for the
> background of the li's - which should be grey. The dashed border on the
> second li is green and this should be black!

This is a known bug and is mentioned in the errata.

http://www.w3.org/Style/css2-updates/REC-CSS2-19980512-errata.html#x8

> Anyway, it says the content width of the li boxes is calculated top down -
> I click on the link 'content width' but I don't really get what it is
> trying to tell me. In simple terms please, what dictates how wide this
> will be?

The core of it is...

If the width is specified, then it is that.
Otherwise, it is whatever is left over after margins, borders, and paddings
have been accounted for.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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