0

Weird !(why when i use div then tag it puts the background gray+ properties but if i use span then tag it only apply properties)

https://code.sololearn.com/WIyyT8ozKhsz/?ref=app

5th Jan 2019, 5:04 AM
Bane
Bane - avatar
3 odpowiedzi
+ 1
Because you put nested block level elements (like p) in the span tag which is a inline level. You should always use block level (div tag) if you want to have apply backgrounds
5th Jan 2019, 5:12 AM
Alquen
Alquen - avatar
+ 2
Bane welcome
5th Jan 2019, 6:00 AM
Alquen
Alquen - avatar
0
ahhh i see ! thanks man (Alquen )
5th Jan 2019, 5:58 AM
Bane
Bane - avatar