Thorsten Scherler said the following on 09/06/2005 19:44:

http://forrest.apache.org/0.7/docs/howto/howto-corner-images.html

HTH

Yes, this is a well-written howto. As its example demonstrates, It could benefit from the two things I learned (pelt-specific?), however.

1) The background-color needed for the rounded corners at the bottom of the pelt menu to blend in with the background of the page is the value white used for "content" (or "main"), not "body" (the initial value) unless "body" happens to remain set to "#FFFFFF" (white). Changing the "body" color something else (e.g., to match "footer" to visually extend the bottom frame to fill the screen) shows up in the background points of the rounded menu corners. Thus, one may need to add to skinconf.xml a "missing" color:

<color name="content" value="#FFFFFF" />


2) The new color-name, "content" in my case (or "foo" as in the example), must then be used in screen.css, as per the example:

background-image: url(images/rc-b-r-15-1content-2menu-3menu.png);

but also in site2xhtml.xsl:

<div id="roundbottom">
<img src="{$skin-img-dir}/rc-b-l-15-1content-2menu-3menu.png" alt="" width="15" height="15" class="corner" style="display: none" />
       </div>

Thanks for your help,
Maurice