[TYPO3-UG Dutch] direct mail background images css

Pascal Cramer pascal at NOSPAMroguesheep.nl
Tue Dec 15 21:00:04 CET 2009


Hoi Jacco,
komt dit niet door de 'relPath' van automaketemplate? (als je 
die gebruikt)

Groeten,
Pascal

Jacco van der Post wrote:
> Hoi
> 
> In sommige e-mail clients werken background images qua CSS in direct 
> mail wel echter de url's krijgen steeds een pad ervoor gegooid bij mij.
> 
> Dus ik heb iets in mijn nieuwsbrief template van
> 
> <body style="margin: 0;padding: 0;background-color: #fff;">
> <style type="text/css" media="screen">
> table.sidebar td.sideheader {
>     background-image: 
> url('http://www.mijndomein.nl/fileadmin/templates/img/nieuwsbrief/nb_vib_sidebarbgheader.gif'); 
> 
> }
> ...
> </style>
> <table>
> ...
> </table>
> </body>
> 
> 
> Echter in de source knikkert TYPO3 er bij de CSS steeds 
> fileadmin/templates/tmpl/ voor.
> 
> Dus het wordt dan 
> background-image:url(fileadmin/templates/tmpl/http://www.mijndomein.nl/fileadmin/templates/img/nieuwsbrief/nb_vib_sidebarbgheader.gif); 
> 
> 
> 
> Er bestaat wel iets als
> 
> page.stdWrap.HTMLparser{
>    keepNonMatchedTags = 1
>    tags{
>      a.fixAttrib.href.prefixRelPathWith = {$baseURL}
>      img.fixAttrib.src.prefixRelPathWith = {$baseURL}
>    }
> }
> Maar goed dat lijkt niet op CSS te slaan...
> 
> Als ie de baseURL er zou voor knikkeren zou het ook goed zijn.
> 
> 
> Iemand een suggestie?
> 
> grtz Jacco
> 


More information about the TYPO3-UG-Dutch mailing list