+ 1

Make the models to be inline

I made this page to help me remember the html5 content models. Can you please find a way to make the items appear inline? I used the class "child" to format each table But when I put display: inline; every goes wrong EDIT: Sorry I forgot to paste the link : -, https://code.sololearn.com/WyAiZ6tXLFbZ/?ref=app

10th Jul 2017, 1:57 PM
Mame86
Mame86 - avatar
2 Respuestas
+ 4
The main mistake of your css is elsewhere, at the 'container' class declaration: you set the width to 100vh, wich is related to the viewport HEIGHT... I guess you want rather set it to 100 vw (viewport width)... Anyway, I don't right understand how you want display your stuff, but it could be fixed only by changing it... but else, if 'inline' will still not do the job, you can try 'inline-block' as well ;)
10th Jul 2017, 4:07 PM
visph
visph - avatar
0
Thank you @visph. inline-block works ^^ https://code.sololearn.com/WyAiZ6tXLFbZ/?ref=app
10th Jul 2017, 4:26 PM
Mame86
Mame86 - avatar