W3C home > Mailing lists > Public > www-style@w3.org > December 2004

Re: What is missing in CSS?

From: David Latapie <david@goddess-gate.com>
Date: Mon, 6 Dec 2004 16:25:12 +0100
Message-Id: <05AD73AC-479B-11D9-AEE2-000393C44C02@goddess-gate.com>
To: www-style@w3.org


Le 6 déc. 04, à 13:03, Slalomsk8er@solnet.ch a écrit :

>
> Hallo,
>
> I miss some things in CSS.

As for me, I would like to have a command like
"every inline element"
"every block element"

(whether they naturally are block - like div - or after a CSS treatment 
- like display:block)

Example of use



============
ins[datetime]:before {content:"[UPD - "attr(datetime)"] "}
li ins[datetime]:before, p ins[datetime]:before {content:"[UPD] "}
============

Here, I want a short autogenerated text for inline, and a long one for 
block. I have to override the first rule by enumerating all inline 
element that comes to my mind (i.e. li and p), wich is certainly 
neither  elegant nor efficient

I'd like something like "inline":

============
inline ins[datetime]:before {content:"[UPD] "}
============

--
</david_latapie>
blog.empyree.org
Received on Monday, 6 December 2004 15:23:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT