try putting labelposition="top" as a property in your div tag for the
first tab. and remove all css just to see if it atleast works

On Wed, Feb 20, 2008 at 5:44 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>
>  thanks for replying. No, the tabs.css is not mine. I realized it comes from
>  struts2-core.
>
>
>
>
>
>  Musachy Barroso wrote:
>  >
>  > Is tabs.css your css? I am guessing that there is some style applied
>  > to the tabs that is breaking it. (because the text on the other tab
>  > should be hidden, and it isnt)
>  >
>  > musachy
>  >
>  > On Wed, Feb 20, 2008 at 5:21 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>  >>
>  >>  WHAT am I possibly doing wrong here?
>  >>
>  >>  I want to get this result: (attention on the tabs example)
>  >>  http://www.nabble.com/file/p15600219/good.jpeg
>  >>
>  >>
>  >>  but I get this result:
>  >>  http://www.nabble.com/file/p15600219/wrong.bmp
>  >>
>  >>
>  >>  the code is:
>  >>
>  >>  <%@ include file="/pages/layouts/taglibs.jsp" %>
>  >>  <html>
>  >>  <h2 class="menu" id=title>Welcome <s:property
>  >>  value="%{#session.USER_SESSSION_HANDLE.fname}"/>; last login <s:property
>  >>  value="%{#session.security_user_last_logged_in}"/></h2>
>  >>  <%@ include file="tabMenu.jsp" %><body class="section-3">
>  >>
>  >>
>  >>
>  >>
>  >>  <head>
>  >>     <title>Ajax examples - tabbled panel</title>
>  >>
>  >>     <s:head theme="ajax"/>
>  >>     <link rel="stylesheet" type="text/css" href="<s:url
>  >>  value="/struts/tabs.css"/>">
>  >>
>  >>
>  >>
>  >>
>  >>  <body>
>  >>
>  >>                                 <s:tabbedPanel id="test2" theme="simple"
>  >> cssStyle="width: 500px; height:
>  >>  300px;" doLayout="true" closeButton="pane" labelposition="bottom">
>  >>                       <s:div id="left" label="test1" theme="ajax" >
>  >>                           I'm a Tab!!!
>  >>                       </s:div >
>  >>                       <s:div  id="middle" label="test2"  theme="ajax" >
>  >>                           I'm the other Tab!!!
>  >>                       </s:div >
>  >>
>  >>                   </s:tabbedPanel>
>  >>
>  >>
>  >>
>  >>  </body>
>  >>  </html>
>  >>
>  >>  --
>  >>  View this message in context:
>  >> 
> http://www.nabble.com/strut2---Ajax-dojo%3A-rrrrrr-what%27s-wrong-with-my-settings--cant-get-the-theme%3Dajax-to-wrork-%28pictures-included%29-tp15600219p15600219.html
>  >>  Sent from the Struts - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>  For additional commands, e-mail: [EMAIL PROTECTED]
>  >>
>  >>
>  >
>  >
>  >
>  > --
>  > "Hey you! Would you help me to carry the stone?" Pink Floyd
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>  >
>
>  --
>  View this message in context: 
> http://www.nabble.com/strut2---Ajax-dojo%3A-rrrrrr-what%27s-wrong-with-my-settings--cant-get-the-theme%3Dajax-to-wrork-%28pictures-included%29-tp15600219p15600787.html
>
>
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to