0

Header Valign

Is there a way to align text in the header to the vertical center? I tried it with “text-align: center;” but that doesn’t work. I’m working on a calculator where I need this. Here’s the link: https://code.sololearn.com/WD6732L1mBEX/?ref=app

6th Jan 2021, 10:30 AM
Leander
Leander - avatar
3 ответов
0
Refer to this I just used flex in header of css I just changed: aling-text: center To Display: flex; Aling-items: center; Justify-content: center; https://code.sololearn.com/W7dRArf7DxKC/?ref=app
6th Jan 2021, 10:42 AM
Nitin Kushwaha
Nitin Kushwaha - avatar
0
thanks this works pretty well
6th Jan 2021, 10:46 AM
Leander
Leander - avatar
0
Nitin Kushwaha Leander Creations Not Aling-items It's align-items: center;
6th Jan 2021, 10:48 AM
Calviղ
Calviղ - avatar