0

Can we use block elements inline with the text?If yes, how?

23rd Nov 2017, 6:27 AM
Meghna Kulkarni
Meghna Kulkarni - avatar
2 ответов
+ 2
block element always occupies 100% width of the parent
23rd Nov 2017, 6:34 AM
Calviղ
Calviղ - avatar
+ 2
You could try using the display property on an element. like style="display: inline;" ? or inline-block? But it might be a bad practice to do so.
23rd Nov 2017, 10:52 AM
Dwain Aiolupotea
Dwain Aiolupotea - avatar