+ 3

align not supported by html5??? if no than wich attribute used???

plz solve the problem

3rd Jul 2018, 7:08 AM
Ahmad Mughal
Ahmad Mughal - avatar
2 Respuestas
+ 3
Few ways to align in html 5: body{ text-align: center; } #someDiv{ margin: 1em auto; } #someDiv{ -webkit-box-pack: center; } You need to use display: -webkit-box; in body or parent divs in order to use -webkit-box-pack
3rd Jul 2018, 7:53 AM
Akib
Akib - avatar
+ 2
thnks bro
3rd Jul 2018, 8:03 AM
Ahmad Mughal
Ahmad Mughal - avatar