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

Re: The style attribute, again

From: Jens Meiert <jens.meiert@erde3.com>
Date: Tue, 13 May 2003 08:40:54 +0200 (MEST)
To: "Simon Jessey" <simon@jessey.net>
Cc: www-html@w3.org
Message-ID: <22903.1052808054@www23.gmx.net>

> Unfortunately, many content developers do not have access to, or are not
> allowed to alter, the master style sheet(s) of a site. They may not even
> see a document's <head> element. This is typical of many large
corporations.
> Often, a developer must resort to a little style attribute here and there.

I notice the problem where to go into the concrete usage of XHTML and its
elements/attributes. It is right pointing out the difficulties someone might
have to keep the code clean and properly working, but I guess you cannot offer
a solution to everyone -- but maybe you can force companies to create better
alternatives in maintaining source code (in your example by deblocking some
elements in the <head />).

> The style attribute does no harm. Although I rarely use, I do see a need
> for it to remain in the specification.

I agree.


 Jens Meiert.



> 
> ----- Original Message ----- 
> From: "Andy" <aholmes84@shaw.ca>
> Subject: Re: The style attribute, again
> 
> 
> > In my opinion, there is no need for the style attribute and should be
> deprecated in XHTML2. For the
> > example:
> >
> >     <span style="font-weight: bold;">bold text</span>
> >
> > Why not just use:
> >
> >     .b { font-weight: bold; }
> >
> >     ...
> >
> >     <span class="b">bold text</span>
> >
> 
> 
> Unfortunately, many content developers do not have access to, or are not
> allowed to alter, the master style sheet(s) of a site. They may not even
> see
> a document's <head> element. This is typical of many large corporations.
> Often, a developer must resort to a little style attribute here and there.
> The style attribute does no harm. Although I rarely use, I do see a need
> for
> it to remain in the specification.
> 
> Simon Jessey
> 
> w: http://jessey.net/blog/
> e: simon@jessey.net
> 


-- 
Jens Meiert

Steubenstr. 28
D-26123 Oldenburg

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

eMail <jens@meiert.com>
Internet <http://meiert.com>
Received on Tuesday, 13 May 2003 02:41:11 GMT

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