Art wrote:
> I've heard the mantra to keep Content separated from
Layout.
>
> With this in mind, I'm wondering how to format large
blocks of content
> that need formatting?
>
> For example I have a product that will fill a page with
text. Since I
> can't take the time to dynamically develop a whole page
for each
> product, I must copy all the text into one row in a
database. My problem
> is then the fact that there are no individual headers,
paragraph breaks
> and all the rest of the content within that block of
text.
>
> What's the best solution for formatting content like
this?
>
> Should I use "classes" to block up the content and then
format it using
> CSS?
>
> Is there a user interface that will write these classes?
I would store the html and the text in the one column, and
just display
that. I would use an rich text editor, like fckeditor, or
tinymce on the
insert/edit page, which will store it in the database. When
you display
it on your page it will be displayed as per your initial
creation.
Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html