The text “centerBox” at http://dot.kr/x-test/html/middleCenter/index.php is vertically middle aligned.
The page above has not declared “!DOCTYPE HTML”.
Since I like to delcare the DOCTYPE,
I did it at the page below
The page below doesn’t aligned the text “centerBox” vertically middle because it has “!DOCTYPE HTML”.
http://dot.kr/x-test/html/middleCenter/index2.php
The code in index.php and the code in index2.php are all same but the code in index.php has no “DOCTYPE” while the code in index2.php has it.
How can I make the text “centerBox” vertically middle with “!DOCTYPE HTML”?