[TYPO3] css background images not loaded.

Asbjørn Morell atmorell at gmail.com
Mon Nov 27 12:03:30 CET 2006


you are correct about that - is working now.

Best regards.
Asbjørn Morell.


"Mads M. Hansen" <madsmh at gmail.com> wrote in message 
news:mailman.47859.1164381116.30218.typo3-english at lists.netfielders.de...
the url for the image needs to be relative to the position of the CSS
file, not the HTML.
As it is now, the image you are pointing to, are in a subdirectory of
the directory your CSS file is placed in...

Mads

> #logo
> {
> height: 65px;
> background-image: url('img/logo.gif');
> background-repeat: no-repeat;
> margin: 3px 0 0 9px;
> border: 1xp solid red;
> }
>
>  Best regards.
> Asbjørn Morell.
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 




More information about the TYPO3-english mailing list