目前分類:web (3)
- Jul 08 Thu 2010 12:40
Coding in the Cloud
- Jun 26 Mon 2006 19:46
內容置中
左右置中:
.centered { width: 800px; margin: auto; }
上下左右置中:
.centered { width: 800px; margin: auto; height: 50%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; }