Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Display property
When i type Div { display: inline; } It doesnāt apply to the html. However when if i change it so the propertyās applied to the p it works P { display: inline; } Can somebody explain why? I donāt want to have to type the class for every para that needs to be displayed as an inline element.
4 Respostas
+ 2
for the div you should use inline-block
+ 2
it is but a div has to have display:inline-block; while other elements can use inline and inline-block
+ 1
so the display property is not applicable for div?
+ 1
oh i see. thank you so much šš½