div | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

div

why we use div to support vertically align?

24th Aug 2016, 1:06 AM
Kemp
Kemp - avatar
1 Réponse
0
Becouse div is a block element, and selector like div, whith display:block, default is set one under another.
24th Sep 2016, 10:23 AM
Piotr Łaszczych
Piotr Łaszczych - avatar