I'm using 1.6-dev, and creating some custom skins. All works fine so far. I
do have a question about this. First some data:

My local-skins.xreg contains something like:

    <skin-entry name="MySkin" hidden="false">
        <property name="background-color" value="#9CCFFF" hidden="false"/>
        <property name="highlight-background-color" value="#3969B5"
hidden="false"/>
        <property name="portlet-skin-class" value="MySkin" hidden="false"/>
        <property name="image.paths" value="MySkin" hidden="false"/>
    </skin-entry>

The 'background-color' property causes both the background color of a
portlet, and the background color of the entire page to change, in the final
HTML I find:

The main cell which contains the portlets:

  <tr><td height="2"  style="background-color: #9CCFFF"  ><img height="2"
width="2" src="images/dot.gif" /></td></tr>

And the portlet content cell:

        <td colspan="2"  class="PContent"   style="background-color:
#9CCFFF;" >

However, I want to change the background color of the portlet to white.. The
logical step would be to alter the PContent class, but this is overridden by
the inserted style-attribute in the HTML above. Now I'm stuck with editing
the jetspeed.vm templates which render the portlets.

Advice: I would advise that this entire mechanism to be changed, to use the
full capabilities of CSS. For example, I'd like to see something like this:

        <td colspan="2" class="general PContent">

Here, the 'PContent' class overrides the 'general' class (space separated
classes). This will eliminate all the inserted style-attributes in the tags,
and make much cleaner HTML and VM-templates. However, in that case you can't
define these properties in the skins xreg file, but you'd have to define
these in the CSS file. Also, it would make styles less customizable from the
portal website..

Any ideas?

Roel

PS I guess I have to post this to the other mailing list.. oh well.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to