W3C home > Mailing lists > Public > www-html@w3.org > June 2003

Re: CSS integration proposal

From: Jens Meiert <jens.meiert@erde3.com>
Date: Tue, 10 Jun 2003 15:31:03 +0200 (MEST)
To: Arthur Wiebe <webmaster@awiebe.com>
Cc: www-html@w3.org
Message-ID: <10554.1055251863@www64.gmx.net>

> What's wrong with the style element? I have always wondered why the link 
> element was used for stylesheets, but I can't agree with your proposal 
> since the style element can do what you've just showed there.

I only appreciated a generic form of integration, like the Ruby module
illustrates it. Neither <link /> nor <style /> is generic or even consequent,
related to its purpose.

> I've 
> thought about adding a src attribute to style but that wouldn't be any 
> better than link. Unless we could use <style src="/style.css" 
> type="text/css" />. But for alternate and all those other values, I 
> don't know. I think we should stick with link for now unless someone can 
> think of something better.

In my opinion, the former functionality should rest (referencing to external
CSS via <link />, and using internal styles via <style />). Only the naming
would change to offer a more consequent and obvious usage.


 Jens Meiert.



> Jens Meiert wrote:
> 
> >As I looked over the XHTML draft, I thought about a more generic CSS
> >integration similar to the Ruby module. So, what about referring to
> (internal) CSS
> >via
> >
> >
> ><css>
> >   <!-- add styles here -->
> ></css>
> >
> >
> >and, related to external CSS, via
> >
> >
> ><css href="URI" />
> >
> >
> >I guess this is really self-descriptive and you even don't need to
> announce
> >the type attribute (text/css). Please tell me, if I overlooked something
> >important; nevertheless, what do you mean?
> >
> >
> >
> > Jens Meiert.
> >
> >
> >  
> >
> What's wrong with the style element? I have always wondered why the link 
> element was used for stylesheets, but I can't agree with your proposal 
> since the style element can do what you've just showed there. I've 
> thought about adding a src attribute to style but that wouldn't be any 
> better than link. Unless we could use <style src="/style.css" 
> type="text/css" />. But for alternate and all those other values, I 
> don't know. I think we should stick with link for now unless someone can 
> think of something better.
> <Arthur/>
> 

-- 
Jens Meiert

Steubenstr. 28
D-26123 Oldenburg

Mobil +49 (0)175 78 4146 5
Telefon +49 (0)441 99 86 147
Telefax +49 (0)89 1488 2325 91

Mail <jens@meiert.com>
Internet <http://meiert.com>
Received on Tuesday, 10 June 2003 09:31:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT