html - Div not centered in Firefox -



html - Div not centered in Firefox -

i trying center div , works in safari , chrome, not firefox. div socicon show linked social media icons. div below total background image using css3.

html { height: 100%; background: url(images/logolandingpage.jpg) no-repeat center center; background-size:cover; } #socicon { margin: 0 auto; position:absolute; padding: 10px 0px; bottom:0px; width:100%; /* firefox */ display:-mox-box; -moz-box-pack:center; -moz-box-align:center; /* safari , chrome */ display:-webkit-box; -webkit-box-pack:center; -webkit-box-align:center; /* w3c */ display:box; box-pack:center; box-align:center }

text-align:center;

might help, not sure , if post html can create sure work!

#socicon { margin: 0 auto; position:absolute; padding: 10px 0px; bottom:0px; width:100%; text-align:center; }

html css3 firefox

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -