Hi,

Can anyone help me in this regard,
I dont see any problem (for Label text alignment) with cross browsers in
live Tobago demo.

but in my application I'm struggling with the alignment between IE7 and
Firefox 2.0.0.3 (Image attached in my previous mail)

do i need to do any thing with the Styles and CSS?
Please reply me soon.

NB: i'm attaching my jsp ( User Registration Form)

Any kind of suggestions will be appreciated.

Thanks,
Vinay

On 3/15/07, Vinay Konanki <[EMAIL PROTECTED]> wrote:


Hi Arvid,


Thanks for your reply. I dont see any problem with live demo.
> but only in my application, here im attaching Registration jsp
>
> Do i need to do any thing with the theme/styles/css?
>
> Awaiting reply.
>
> Vinay
>
> On 3/15/07, Arvid Hülsebus < [EMAIL PROTECTED]> wrote:
> >
> > Do you have the same problem with the life demo?
> >
> > http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> >
> >
> > Perhaps you can send the JSP page (or whatever view technology you are
> > using).
> >
> > Regards,
> > Arvid
> >
> > Vinay Konanki wrote:
> > > Hi all,
> > >
> > > I have an issue with label text alignments between IE7 and Firefox.
> > > attached is the file that contains the snapshots both in IE and
> > Firefox.
> > > In IE the label text will be displayed in RHS where as in firefox it
> > > will display on LHS.
> > >
> > > Can anyone suggest me how to over come this cross browsers issue.
> > >
> > > Thanks in advance,
> > > Vinay
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> >
>
>
>


<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>



<layout:loginLayout>
<jsp:body>
         <tc:form id="userRegistration">
                        <tc:panel width="#{bundle.bodyPageWidth}" 
height="300px">
                                <f:facet name="layout">
                                        <tc:gridLayout columns="150px;250px;1*" 
rows="40px;20px;20px;20px;20px;20px;20px;20px;80px;20px;20px;40px" 
marginLeft="5px" marginRight="5px" border="0" />
                                </f:facet>
                                <tc:cell spanX="3">
                                        <tc:out  value="Registration Form" 
markup="sectionHeader"/>
                </tc:cell>                              
                <tc:cell spanX="3">
                <tc:messages/>
                </tc:cell>
                                                 
                 <tc:cell>
                 <tc:label value ="#{bundle.firstName}"/>
                 </tc:cell>
                <tc:cell>
                                        <tc:in id="fName" 
value="#{userRegistration.firstName}" />
                                </tc:cell>
                                <tc:cell/>

                <tc:cell>
                <tc:label  value="#{bundle.lastName}"/>
                </tc:cell>

                <tc:cell>
                                        <tc:in id="lName"  
value="#{userRegistration.lastName}" />
                                </tc:cell>
                                <tc:cell/>

                <tc:cell>
                <tc:label value="#{bundle.phone}"/>
                </tc:cell>
                <tc:cell>
                                        <tc:in id="phone" 
value="#{userRegistration.phoneNumber}" />
                                </tc:cell>
                                <tc:cell/>
                
                <tc:cell>
                <tc:label value ="#{bundle.country}"/>
                </tc:cell>
                <tc:cell>
                                        <tc:selectOneChoice 
value="#{userRegistration.country}" id="country">
                            <f:selectItem itemLabel="-Select Country-" 
itemValue="none"/>
                                                <f:selectItem itemLabel="United 
States" itemValue="US"/>
                                                <f:selectItem 
itemLabel="Australia" itemValue="AU"/>
                                                <f:selectItem itemLabel="United 
Kingdom" itemValue="UK"/>
                                                <f:selectItem itemLabel="China" 
itemValue="CH"/>
                                        </tc:selectOneChoice>
                        </tc:cell>
                                <tc:cell/>
                
                <tc:cell>
                <tc:label value = "#{bundle.company}"/>
                </tc:cell>
                                <tc:cell>
                                        <tc:in id="company" 
value="#{userRegistration.company}"/>
                                </tc:cell>
                                <tc:cell/>

                <tc:cell>
                <tc:label value ="#{bundle.emailID}"/>
                </tc:cell>
                <tc:cell>
                                        <tc:in id="email" 
value="#{userRegistration.email}"/>
                                </tc:cell>
                                <tc:cell/>
                
                
                <tc:cell>
                         <f:facet name="layout">
                                    <tc:gridLayout rows="20px;*"/>
                           </f:facet>
                          <tc:cell>
                                         <tc:label value ="#{bundle.comments}"/>
                           </tc:cell>
                           <tc:cell/>
                  </tc:cell>   
                  <tc:cell>
                        <tc:textarea id="comments" 
value="#{userRegistration.comments}"></tc:textarea>
                                </tc:cell>
                                <tc:cell/>

                <tc:cell/>
                   <tc:cell/>                             
                 
                 <tc:cell/>

                 <tc:cell/>
                <tc:cell>
                    <f:facet name="layout">
                        <tc:gridLayout columns="10px;70px;70px;*" border="0"/>
                    </f:facet>
                    <tc:cell/>
                    <tc:cell>
                        <tc:button label="#{bundle.cancel}" width="50px" 
action="goto_login" immediate="true"/>
                    </tc:cell>
                    <tc:cell>
                        <tc:button      
action="#{userRegistration.getRegistered}"
                                                label="#{bundle.register}"  
                                                width="60px"/>
                    </tc:cell>
                </tc:cell>
                <tc:cell/>
                  
                         <tc:cell/><tc:cell/><tc:cell/>
                        </tc:panel>
                </tc:form>       
</jsp:body>
</layout:loginLayout>

Reply via email to