Hi,

I'm currently using Struts 2.0.11.1 where I'm having problem using CSS style 
attribute 'float' together with Struts' <s:tabbedPanel />. The content of the 
tabbedpanel is displayed wrongly when for example a <div> inside  the 
tabbedPanel are using the 'float' attribute. Like this:

<s:tabbedPanel id="tabmenu" >
<s:div id="test1" label="Test" theme="ajax" labelposition="top" >
<div style="float: right;">
                                               Hello float!
</div>
                </s:div>
                <s:div id="test2" label="Test2" theme="ajax" 
labelposition="top" >
                                <div>Hello</div>
                </s:div>
</s:tabbedPanel>

The div block inside tab "test1" will be displayed outside the tabbedPanel, but 
the div inside test2 will be displayed correctly. Also a <div> outside the 
tabbedPanel also disrupts the layout of tabbedpanel, but I it's possible to fix 
with CSS 'clear: both' on the <s:tabbedPanel /> itself. I have tested this on 
both FF 2.0.014 and IE7.0.

Any ideas how this could be solved.

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

Reply via email to