Centering objects
Dear All
My login page has the following:
User Id:
Password:
Login Button
Forgot Password Link
how do I centering them?
any body please help?
thanks & regards
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Dear All
My login page has the following:
User Id:
Password:
Login Button
Forgot Password Link
how do I centering them?
any body please help?
thanks & regards
Hello Winanjaya,
Please, look at this link: http://devcenter.appery.io/documentat...
Hi. thank you.. I tried it .. but it does not work
Appery('lblUsername').css('margin', 'auto');
Appery('txtUsername').css('margin', 'auto');
Appery('lblPassword').css('margin', 'auto');
Appery('txtPassword').css('margin', 'auto');
Appery('lblUsername').css('display', 'block');
Appery('txtUsername').css('display', 'block');
Appery('lblPassword').css('display', 'block');
Appery('txtPassword').css('display', 'block');
I just put those codes in load event of the form..
am I correct? ...
Hello Winanjaya ,
Add all components to grid, then add CSS asset with code:
pre
[data-wrapper-for=mobilegridName]{
display: table-cell;
vertical-align: middle;
}
[name=mobilecontainer]{
display:table;
}
/pre
Where mobilegridName - grid component name
mobilecontainer - page container name
thank you ![]()
what I need is to show them in the center of the screen..