[TYPO3-english] Monospaced/teletype in htmlarea

Xavier Perseguers typo3 at perseguers.ch
Thu Apr 16 12:54:41 CEST 2009


StephenBungert wrote:
> Just add a paragraph style to the RTE and then with CSS format it to be a
> monospaced font like courier new. Have you ever done that before? Do you
> know how?

Why add a style for that when there's already a tag "<tt>" (or <pre>) 
aimed at that? I always prefer logical tags that degrade well when CSS 
is not available.

Of course, if logically the content should not be monospaced, then the 
CSS solution is the way to go.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-english mailing list