[Typo3] 100 unnecessary lines of CSS in header of extensions not used

Michael Stucki michael at typo3.org
Sun Jun 19 14:36:00 CEST 2005


Michael Scharkow wrote:

> The solution Rob pointed out is exactly the right one. It takes just
> another ten seconds after installing tx_foobar to insert
> 
> plugin.tx_foobar_pi1._CSS_DEFAULT_STYLE >
> 
> to the template of your site.
> 
> However, if you just want to remove the CSS definitions from your HTML,
> then TSRef is your friend. Try this in your setup, and stuff will be put
> in an external CSS file
> 
> config.inlineStyle2TempFile = 1

I think Jaco is right if he is annoyed by the large CSS inline style. The
point is that it might be used on a single page in your setup (the page
which contains the plugin) but not on all.

There should be a check which only adds the CSS inline style code depending
on the presence of the plugin.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list