[TYPO3] default font size and face for content
Christopher
bedlamhotel at gmail.com
Sat May 6 00:30:05 CEST 2006
On 5/5/06, Susanne Moog <mail at susi-moog.de> wrote:
> Borut Rozman schrieb:
> > Maybe a stupid Q but how can I set in TS to have defaut font Verdana size 10 px
> > ?
>
> You could try something like this:
>
> page.stdWrap.textStyle.face.default = Verdana
> page.stdWrap.textStyle.size.default = 10px
>
> I don't know if that works, but just try and test a bit. You can have a
> look at TSref. PAGE has a stdWrap property and stdWrap has textStyle. So
> have a look at textStyle.
Even if it works, it's likely to produce some _ugly_ html. Why not use
CSS? It's not as though this is a problem unique to TYPO3...
### In TS setup field:
PAGE.stylesheet = path/to/stylesheet.css
/* In stylesheet: */
body { font-size:10px; font-family:verdana,vera,sans-serif; }
-Christopher
More information about the TYPO3-english
mailing list