You are here: Re: Hide text with css « HTML « IT news, forums, messages
Re: Hide text with css

Posted by Andy Dingley on 02/19/07 12:41

On 17 Feb, 15:17, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:

> > A competent HTML + CSS author can thus re-work the presentation of a
> > page without needing to change a server-side scripting language they
> > might not be competent with. This is a good thing.
>
> Nope.

It's not one of the design aims of CSS and it's still not one of the
W3C's four listed benefits to CSS, but it's still an "emergent
benefit" that is extremely valuable to a lot of larger-scale projects.
Compare it to JSP vs. Java Servlets, and particularly to the use of
JSP EL (Expression Language) which _was_ deliberately targetted at
this benefit from the first.

There's a need for HTML+CSS-competent coders to be able to modify the
appearance and "skinning" of a complex server-side generated site,
without needing the skills or access to modify the scripting itself.
CSS provides this. This ability has become extremely valuable
(although sadly still under-used).

> CSS wasn't meant to act as a substitute for changing content or
> structural markup.

There's no need to. If the HTML is validly "structural" in nature and
is presentation-free, then the presentation layer is applied almost
entirely by the CSS and any reasonable and applicable presentation can
be applied to the same HTML. After all, if the HTML is structurally
adequate and the "presentation" change is strictly just that and
purely presentational, then this is obviously possible.


> If the problem is that you cannot edit an HTML document,
> then CSS is not the answer. Well, not to an _author_.

Why not? Which part is stopping you? Inflexibility of the HTML (Then
stop embedding presentation into the HTML) or incapacity in the CSS
(Are you really asking for more than a presentational change?).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация