[TYPO3] tcdirectmail external css file problem SOLVED
Benjamin Todd
b.todd at emnet.co.uk
Wed Jan 24 15:44:42 CET 2007
Hi Daniel,
Thanks, that's really helpful :D
Ben :)
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Daniel
Schledermann
Sent: 23 January 2007 12:08 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] tcdirectmail external css file problem
Benjamin Todd wrote:
> Hi,
>
>
>
> I am trying to use tcdirectmail and it is working great apart from the
> stylesheet. The mail validity page states that the page uses an
external
> stylesheet and tcdirectmail will include it inside the email. The
> problem is, it doesn't :/
:-(
>
>
>
> Have I got something setup worng? Or maybe there is some typoscript to
> convert external css into internal css at runtime?
Depends on how your stylesheet are written. Some like to make a central
style sheet like.
page.includeCSS.styles = fileadmin/templates/styles.css
The style.css file the contains links to other stylesheets like:
@import url('tt_news.css');
@import url('indexed_search.css');
@import url('flexcontent.css');
@import url('content.css');
This setup WONT work. Instead you should include them one by one.
page.includeCSS {
ttnews = fileadmin/templates/tt_news.css
indexedsearch = fileadmin/templates/indexed_search.css
flexcontent = fileadmin/templates/flexcontent.css
content = fileadmin/templates/content.css
}
Even better, identify what styles you plan to use in your newsletter,
and write a stylesheet containing only the styles needed. Remember that
unnessesary styles take up bytes on your newsletter.
Even better yet, write the styles inline in your newsletter. This way
you can also trick hotmail, gmail and the like to display the styles.
Hope it helps.
/Daniel
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Scanned for viruses by MailDefender
More information about the TYPO3-english
mailing list