You are here: Re: CSS inheritence - Maybe Easy « HTML « IT news, forums, messages
Re: CSS inheritence - Maybe Easy

Posted by Mark Parnell on 11/26/52 11:55

Deciding to do something for the good of humanity, David Smithz
<dave1900@blueyonder.co.uk> declared in alt.html:

> .example { color: red}.
>
> And I want to define another class that has all the properties of the
> example class but also has it's own additional properties (therefore say I
> want class example 2 to inherit from example 1).

..example, .example2 {color: red;}

..example2 {/*additional styles*/}

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html

 

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

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