You are here: Re: Text Only Page « HTML « IT news, forums, messages
Re: Text Only Page

Posted by Andy Dingley on 07/24/06 09:58

Chris wrote:

> My layout will be totally CSS driven and the content will be pulled out of a
> database. This content may well have images etc in it. Beyond some kind of
> regular expression to strip out certain tags is there a more elegant CSS
> solution to creating a text only page.

Don't create a text-only page.

One of the fundamental points behind CSS is that it removes the need to
have "print friendly", "text only", "large type" and "accessible" pages
as special pages. You stick up one page, you (optionally) attach
different media-specific CSS to it, then you let the client-side work
the rest out for itself.

It's very rare to need a "text only" page. Even as a specialised page,
the distinction isn't about being "text only", it's about still working
just as well without images. Good image-based CSS design delivers this
anyway, because you've stopped making the workable presentation of text
dependent on additional tricks with images. As a result then just
letting the client-side throw the images away leaves a still-usable
page behind.

I doubt you need a text-only page. I believe good CSS can deliver
everything you do need, just by following basic good practice. To say
any more we'd really have to know more detail about what you're trying
to achieve here.

 

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

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