0
Center alignment
i want to place my name on center eith matrix backround
2 odpowiedzi
+ 3
Well you can do even ever shorter :P ( because the cell behaviour maximize already its dimensions in regards of its parent/container ):
html { display:table; width:100%; height:100%; }
body { display:table-cell; text-align:center; vertical-align:middle; }
And obviously, you can adapt these rules to others html elements ;)
+ 2
Try this:
html, body { width:100%; height:100%; }
html { display:table; }
body { display:table-cell; text-align:center; vertical-align:middle; }
( in your css rules )