+ 3
align not supported by html5??? if no than wich attribute used???
plz solve the problem
2 Réponses
+ 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
+ 2
thnks bro