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

Posted by David Dorward on 09/25/06 15:08

freesoft_2000 wrote:
> Say I have a css class

There is no such thing. HTML has classes, CSS doesn't.

> .foo {
> background-color: blue;
> width: 500px;
> }

That is a ruleset with a class selector, not a class.

> and I have another class:

Ditto

> I want 'foo' to inherit the properties of 'central'.

You can't, but see http://dorward.me.uk/www/css/inheritance/

 

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

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