+ 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 ..
6 Réponses
+ 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;
+ 2
Please link your code
+ 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
+ 1
Shadoff @~NEZ thanks bro.. line-height = .box ...
Thanks ☺️☺️☺️☺️☺️
- 1
Lol, let me go ahead and laugh in swahili then😂☺✋🤣😅🤣