You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Oliver Bayer (JIRA)" <de...@myfaces.apache.org> on 2010/11/10 20:08:17 UTC

[jira] Commented: (TOMAHAWK-1554) CollapsiblePanel CSS Question

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930716#action_12930716 ] 

Oliver Bayer commented on TOMAHAWK-1554:
----------------------------------------

Hi Jakob,

is there a chance of getting this bug (at least in my eyes) fixed or do I have to "css-hack" it myself?
Did you find some time to look at the code snippet I mentioned? Is this the class to fix the css bug?

Oli

> CollapsiblePanel CSS Question
> -----------------------------
>
>                 Key: TOMAHAWK-1554
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1554
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>    Affects Versions: 1.1.11-SNAPSHOT
>         Environment: Win XP, MyFaces 2.0.3-Snapshot, Tomahahwk20-1.1.11-Snapshot
>            Reporter: Oliver Bayer
>
> Hi,
> I'm using the collapsiblepanel component inside a h:form see the following code
> <t:collapsiblePanel id="aNewId" title="a title" style="margin-left: 30px;">
> <p>lorem ipsum</p>
> </t:collapsiblePanel>
> It get's rendered as follows:
> <div style="margin-left: 30px;" title="a title">
> <a href...>
>    <span style="margin-left: 30px;">&gt;</span>
>    <span style="margin-left: 30px;">a title</span>
> </a>
> </div>
> Why get the both span-tags the margin-left style too? Because the div has this style already and the first span has now a margin-left of 60px while the third span has a margin-left of 90px.
> How can i achieve it that the margin-left style is applied only to the surrounding div? Is this a bug or did I misconfigured sth?
> Greets Oli

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.