Index: typo3/template.php =================================================================== --- typo3/template.php (revision 5368) +++ typo3/template.php (working copy) @@ -964,19 +964,18 @@ ',$this->inDocStylesArray); // The default color scheme should also in full be represented in the stylesheet. - $style=trim(' - '.($this->styleSheetFile?'':'').' - '.($this->styleSheetFile2?'':'').' + $style = trim( + implode(chr(10), $this->additionalStyleSheets) . + ($this->styleSheetFile ? '' : '') . + ($this->styleSheetFile2 ? '' : '') . ' - '.($this->styleSheetFile_post?'':'').' - '.implode("\n", $this->additionalStyleSheets) - ) - ; + ' . ($this->styleSheetFile_post ? '' : '') + ); $this->inDocStyles=''; $this->inDocStylesArray=array();