[Typo3-dev] What about MONOSPACE font???

Wolfgang Klinger wolfgang at stufenlos.net
Wed Nov 16 19:24:07 CET 2005


 Hi!

 On Wed, 16 Nov 2005, Brice Bernard wrote the following:
> I've heard that TYPO3 4.0 has introduced the opportunity to use tabs
> in textarea. It's great when you write code like TYPOSCRIPT, HTML or
> PHP and you want to indent it.
> 
> But one thing which could make the code display even more clearer
> would be the use of MONOSPACE font family

 You can do that already with an extension:

 ext_tables.php:
-----
$TBE_STYLES['styleSheetFile_post'] = $ext_path.'files/be_css.css';
-----

 files/be_css.css
-----
#c-edit textarea {
    font-family: "Courier New", fixed;
    font-size: 11px;
}
-----

> What do you think of it????

 +1


 bye
 Wolfgang





More information about the TYPO3-dev mailing list