[TYPO3] css background images not loaded.

Mads M. Hansen madsmh at gmail.com
Fri Nov 24 16:11:52 CET 2006


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