Thursday, February 21, 2013

Login Panel

Hello Everyone..!
i have a problem of alignments and i attached a screen shot of it.
could you please help me to slove this problem..

                                                               <div class="field text" id="fname"> </div>
                                                                <div class="field text" id="lname"></div>
                                                                <div class="field text"  id="emailaddress"></div>
                                                                <div class="field text" id="pass" ></div>
                                                                <div class="field text" id="repass" ></div>
                                                                <div class="field text"  id="addone"></div>
                                                                <div class="field text"  id="addtwo"></div>
                                                                <div class="field text"  id="city"></div>
                                                                <div class="field text"  id="state"></div>
                                                                <div class="field text"  id="zipcode"></div>
                                                                <div class="field text"  id="contactno"></div>
i am trying to make loginpanel and above is the code of my html file
and


/*this is my java code*/
FlexTable ft = new FlexTable();
        ft.setText(0,0,"First Name:*");
        ft.setWidget(0,1,fname);
        FlexTable ft1 = new FlexTable();
        ft1.setText(1, 0,"Last Name:*");
        ft1.setWidget(1, 1, lname);
        FlexTable ft2 = new FlexTable();
        ft2.setText(2, 0, "Email Address");
        ft2.setWidget(2, 1,emailaddress);
        FlexTable ft3 = new FlexTable();
        ft3.setText(3, 0, "Password:*");
        ft3.setWidget(3, 1,pass);
        FlexTable ft4 = new FlexTable();
        ft4.setText(4, 0, "Retype Password:*");
        ft4.setWidget(4, 1,repass);
        FlexTable ft5 = new FlexTable();
        ft5.setText(5, 0, "Address Line1:*");
        ft5.setWidget(5, 1,addone);
        FlexTable ft6 = new FlexTable();
        ft6.setText(6, 0, "Address Line2:");
        ft6.setWidget(6, 1,addtwo);
        FlexTable ft7 = new FlexTable();
        ft7.setText(7, 0, "City:*");
        ft7.setWidget(7, 1,city);
        FlexTable ft8 = new FlexTable();
        ft8.setText(8, 0, "State:*");
        ft8.setWidget(8, 1,state);
        FlexTable ft9 = new FlexTable();
        ft9.setText(9, 0, "Zip Code:*");
        ft9.setWidget(9, 1,zipcode);
        FlexTable ft10 = new FlexTable();
        ft10.setText(10, 0, "Contact No:*");
        ft10.setWidget(10, 1,contactno);




--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment