I need my video to align horizontally within dat yellow box | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need my video to align horizontally within dat yellow box

Sanja Panic https://code.sololearn.com/Wkav8ENMdJOA/?ref=app

9th Oct 2021, 10:25 AM
D Doyen
D Doyen - avatar
7 Answers
0
But it's aligned
9th Oct 2021, 11:01 AM
Sunday Yemi Olanisimi 🇳🇬
Sunday Yemi Olanisimi 🇳🇬 - avatar
0
Sunday Yemi I mean horizontally not vertical
9th Oct 2021, 11:11 AM
D Doyen
D Doyen - avatar
0
I just removed all style you make and make it horizontal, by using display flex. I also changed html layout. https://code.sololearn.com/W1G4uF2BTjIn/?ref=app
9th Oct 2021, 1:43 PM
PanicS
PanicS - avatar
0
This is one use for position relative in websites. https://www.w3schools.com/howto/howto_css_dropdown.asp
9th Oct 2021, 1:47 PM
PanicS
PanicS - avatar
0
Sanja panic thanks a lot for taking time to go through everything Am really grateful And any thing to improve on next time on my code
9th Oct 2021, 1:49 PM
D Doyen
D Doyen - avatar
0
And Wat do u mean by u changing html layout
9th Oct 2021, 1:49 PM
D Doyen
D Doyen - avatar
0
I set all 3 videos in one container, in your code you have 1 main container and 2 divs/container inside. 1 have first video, second have 2 videos inside.
9th Oct 2021, 1:56 PM
PanicS
PanicS - avatar