Skip to content Skip to sidebar Skip to footer

How To Show Webview Data In Vertically Center

I want the following formula to show vertically centre in a Layout. It gets centred Horizontally. But it's getting displayed on top, instead of centre. Here's what I want to achiev

Solution 1:

You use the line-height style:

mathML = "<p style='line-height:400px; vertical-align: middle; text-align: center;'>";

Post a Comment for "How To Show Webview Data In Vertically Center"