W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: inner structures

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 07 Jan 2005 08:28:13 +0100
To: "aquino welkin" <emp@vsen.com>
Cc: <www-style@w3.org>
Message-ID: <41e2349f.169801828@smtp.bjoern.hoehrmann.de>

* aquino welkin wrote:
>I have a very specify idented way to write css, and started looking for a
>solution to avoid repetition of ID/classes, since my research was
>unsuccessful I want to ask you guys if this is possible, and if not, sugest
>it to next implementations of the technology.

It is not currently possible.

>	width: 416px; 
>	float: left; 
>    .head
>    {

The core syntax http://www.w3.org/TR/CSS21/syndata.html#syntax provides
ways to extend CSS syntax, this extension however does not work well
with the core syntax. Similar proposals generally introduced new at-
rules like a @context <selector> ... at-rule which would primarily be
useful for other selections such as selection based on the URI of the
styled document so you can style e.g. http://www.google.com/ the way you
want in your user style sheet without affecting any other website. For
author style sheets the advantage is not so significant and there are
downsides of course as old browsers don't support such syntax and style
sheet processing would become more difficult (e.g., via DOM manipulation
via scripting).
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 7 January 2005 07:28:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC