+ 1

Why my Vertical-align:middle; css property not working ... Please solve it 🙏🙏🙏

Hindi 🙏 bhai please koi batao ki ye vertical property kaise kaam karega ..

14th Jan 2022, 1:37 PM
Praveen Prajaapati
Praveen Prajaapati - avatar
6 Answers
+ 1
Hindi- Line height ko div ki height ke barabr kro .box mein, line-height=...px; (jitni div ki height utni hi line-height rkhna) English- Make line height equal to div height In .box use, line-height=...px;
14th Jan 2022, 2:09 PM
NEZ
NEZ - avatar
+ 2
Please link your code
14th Jan 2022, 1:41 PM
Lisa
Lisa - avatar
14th Jan 2022, 1:42 PM
Praveen Prajaapati
Praveen Prajaapati - avatar
+ 1
Rus: братан, вертикальное выравнивание работает только внутри ячейки таблицы! Лучше выравнивать по вертикали таким кодом: #test{ line-height:100%; } Because you wrote in Hindi (which I don't know) I wrote my answer in Russian (supposing that you also do not know this lang). Cheers
14th Jan 2022, 1:42 PM
Shadoff
Shadoff - avatar
+ 1
Shadoff @~NEZ thanks bro.. line-height = .box ... Thanks ☺️☺️☺️☺️☺️
14th Jan 2022, 2:16 PM
Praveen Prajaapati
Praveen Prajaapati - avatar
- 1
Lol, let me go ahead and laugh in swahili then😂☺✋🤣😅🤣
14th Jan 2022, 4:02 PM
Ekenedilichukwu Osadebe
Ekenedilichukwu Osadebe - avatar