forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <>
Subject About style information on skin/commons/xslt/html/tab2menu.xsl
Date Fri, 28 Mar 2003 17:34:42 GMT

In order to change the selected color for the tab, i needed to change 
the xsl file on the commons skin.

┬┐Style information is suposed to be in the commons xsl file?

on  skin/commons/xslt/html/tab2menu.xsl:

   <xsl:template name="base-selected">
       <font color="#000000">
         <xsl:value-of select="@label"/>


Same for the base-not-selected. template.

I remove the font tags, and I added a class="base-selected" to the <a> tag.

I added these entries on the page.css style info a.base-selected { color: #000000; } a.base-not-selected { font: Arial, Helvetica, Sans-serif; }

This has the same effect, but allow to change the style on the css 
instead of the xsl file.

would you agree with me that this is an enhancement and that I should 
open a issue?

View raw message