Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

Re: Vertical-align property not working in CSS Styling

$
0
0

Hi Sakshi,

 

This seems an old post however noticed that you have not marked as "Answered"

 

The below script in CSS seems to work perfectly fine for me

 

display: flex;
justify-content: center;
flex-direction: column;
height: auto;

 

Below are some additional links explaining this in detail. Hope this helps

 

https://css-tricks.com/centering-css-complete-guide/

 

Centering in the Unknown | CSS-Tricks

 

I have posted this answer for object Text - in css vertical-align:middle; does not work also

 

Regards,

Premdas


Viewing all articles
Browse latest Browse all 3316

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>