HTML horizontal alignment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HTML horizontal alignment

Hey guys, anyone know how i can horizontally align two or more html elements with different heights??? please give your answers and suggestions, really urgent. Thanks in advance.

13th Apr 2020, 8:38 AM
Okoro Ikechukwu Stephen
Okoro Ikechukwu Stephen - avatar
3 Answers
+ 3
Hay bro you may use margin in html and define it margin : top right bottom left; you may share your attempt so that we can help you in better way
13th Apr 2020, 8:57 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
Use vertical-align with inline-block https://code.sololearn.com/WEuTVfOd2hvU/?ref=app
13th Apr 2020, 1:42 PM
Calviղ
Calviղ - avatar
+ 1
Thnks guys
13th Apr 2020, 7:07 PM
Okoro Ikechukwu Stephen
Okoro Ikechukwu Stephen - avatar