Page 2 of 4

how to vertically align an element?

Posted: Sat Jun 01, 2013 3:24 am
by Alena Prykhodko

Delete CSS you've created, Set Class name of mobilegrid Component as text_vert_center and create New CSS with the following code:
code
.text_vert_center {
vertical-align: middle;
text-align: center;
} /code


how to vertically align an element?

Posted: Sat Jun 01, 2013 3:37 am
by John Herdean

i did just that - i tried the new css file on the label and the mobilegrid too... Its still not working...


how to vertically align an element?

Posted: Sat Jun 01, 2013 3:40 am
by John Herdean

the mobile grid:

Image

the label:

Image


how to vertically align an element?

Posted: Sat Jun 01, 2013 3:47 am
by Alena Prykhodko

Try to reload project and delete/add CSS, if doesn't help share it please with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a (http://docs.appery.io/documentation/a...)


how to vertically align an element?

Posted: Sat Jun 01, 2013 3:58 am
by John Herdean

i tried it all over from scratch with the last code above and still the same problem. I shared the project with you guys.

to get to that screen from the login screen:

Log In Venue Profile


how to vertically align an element?

Posted: Sat Jun 01, 2013 4:05 am
by Alena Prykhodko

John, thanks. I'll update


how to vertically align an element?

Posted: Sat Jun 01, 2013 5:39 am
by John Herdean

The name of the project is 'Linked Live'


how to vertically align an element?

Posted: Sat Jun 01, 2013 6:50 am
by Igor

Hi John,

Please try next CSS:
code
.text_vert td {
vertical-align: middle;
text-align: center;
}
/code


how to vertically align an element?

Posted: Sat Jun 01, 2013 4:52 pm
by John Herdean

yes i see its working now. someone assigned the class name to the gridview.


how to vertically align an element?

Posted: Sat Jun 01, 2013 4:52 pm
by John Herdean

thanks