Re: Proposal for small enhancement

> myfile.css:
>
> i1 {</td></tr><tr><td><img src="icon1.jpg" valign="top"/></td><td>}
> i2 {</td></tr><tr><td><img src="icon2.jpg" valign="top"/></td><td>}
> e {<r src="otherfile.html"/>}

You are mixing Structure with Style by adding markup into CSS. You can
add content from CSS right now (altough it does not work in every UA)
with
p { content: 'here goes your content that replaces the actual content"; }

CSS should not be allowed to manipulate the DOM. You have Javascript for that.


> If accepted and implemented, for authors, it simplifies a lot the work: if there is a need to change a certain thing in the replaced paragraph, it is done only once, in the definition. Not having this feature
> means going through all the affected files and operating the change

You could use a database and don't repeat the same information there,
and retrieve it where you need it

I't not sure how much bandwidth this could reduce. My guess is
insignificant. In your example you have an image. The actual image is
retrieved only once. The reference to that image is tiny.

-- 
Andrei Eftimie

+40 766 745 235

Web Developer
http://www.designpunct.ro

http://www.eftimie.com

Received on Friday, 5 December 2008 14:12:11 UTC