forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: use of images in extra-css
Date Tue, 20 Dec 2005 17:44:34 GMT
Ross, error.log is suspiciously empty.
Firefox (page info) gives
  http://localhost:8888/skin/images/top.png
as location for url('images/top.png').

Helena is right, I forgot to mention where I put the image:
  It is below src\documentation\resources\images\

Thorsten's right:
The absolute path url('/images/top.png') gets resolved to
  http://localhost:8888/images/top.png
which displays properly.

I just need to understand, still ;-)

Thanks a lot!
Johannes


Thorsten Scherler schrieb:
> El mar, 20-12-2005 a las 16:52 +0100, Johannes Schaefer escribió:
> 
>>Hi!
>>
>>I'd like to insert something like this into skinconf.xml
>>
>><extra-css>
>>  div#top { background-image:url('images/top.png'); }
>></extra-css>
>>
>>But I can't locate the place to put top.png.
>>The path 'image/top.png' obviously doesn't get resolved like
>>in the XML files.
>>
> 
> 
> The place other already gave an answer, now how the url should look like
> since a relative "images/top.png" will probably not resolved should look
> like "/images/top.png". 
> 
> This way it will always resolved against the root of the webapp. You
> cannot use {$root}images/top.png which actually would be the right one.
> 
> HTH
> 
> salu2
> 
> 
> 
>>Thanks
>>Johannes
>>
>>


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 *
D-81825 München
www.uidesign.de

Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de

Mime
View raw message