- From: Jelks Cabaniss <jelks@jelks.nu>
- Date: Tue, 4 Aug 1998 18:16:13 -0400
- To: <www-style@w3.org>
> >> something like: > >> OBJECT png { background: transparent } > >> OBJECT html { color: green; background: white } > There is, in CSS2, a way to do this: > (see http://www.w3.org/TR/REC-CSS2/selector.html#attribute-selectors ) > > OBJECT[type="image/png"] { background: transparent } > OBJECT[type="text/html"] { margin-left: 2em } Yes. Thank you (and Rasmus Kaj) for reminding me of this: I had read it forgotten it was already in the CSS2 specs. > I also think that client-side includes would be a very good idea.. > using something like a MIME type of text/htmlfrag. Using OBJECT? In XML documents you can use &Entity; for one type of "client-side include" ... /Jelks
Received on Tuesday, 4 August 1998 18:13:29 UTC