forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferdinand Soethe <>
Subject Re[3]: CSS and icons
Date Tue, 09 Nov 2004 11:53:40 GMT

I finally got my CSS-Icons to work:

0. I'm using Forrest 0.6

1. I placed my icon as suggested in \src\documentation\resources\images
   and found that Forrest will not copy that file to the build

   Neither will placing it in xdocs\images get me a copy.

   Only placing my icon-file in content\images will get me the file
   into the build-branch where the style can find it.

2. Then I played with EditCSS long enough to have my faq-instructions
   show as a bulleted list item with my checkmark as a bullet with this
   instruction places in the <extra-css>-element in skinconf.xml:

> p.instruction {
>   display: list-item;
>   list-style-image: url('../images/checkmark.png');
>   list-style-position: outside;
>   margin-left: 2em;
> }

The addressing here needs to step up one directory from where the
CSS-stylesheets are (..) and then go down into the images-directory.

This way it seems to work with pages anywhere and for local browsing
as well as using jetty.

I'd appreciate your comments if this is good practice or did I miss a
much easier way to accomplish this?

Ferdinand Soethe

View raw message