Reply to Re: Inherintances

Your name:

Reply:


Posted by Jonathan N. Little on 09/25/06 15:45

freesoft_2000 wrote:
> Say I have a css class like:
>
> .foo {
> background-color: blue;
> width: 500px;
> }
>
> and I have another class:
>
> .central {
> margin-left: auto;
> margin-right: auto;
> }
>
> I want 'foo' to inherit the properties of 'central'.
>
> Is this possible to be done?


No inheritance in CSS but your can to this:

<ELEMENT class="foo central">...</ELEMENT>

then ELEMENT with have styling rules of 'foo' & 'central'


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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