Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

how to vertically align an element?

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

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to vertically align an element?

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

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to vertically align an element?

the mobile grid:

Image

the label:

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

how to vertically align an element?

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...)

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to vertically align an element?

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

how to vertically align an element?

John, thanks. I'll update

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to vertically align an element?

The name of the project is 'Linked Live'

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

how to vertically align an element?

Hi John,

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

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to vertically align an element?

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

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to vertically align an element?

thanks

Return to “Issues”