body{background-color:#000;color:#fff;}div{float:left;clear:both;width:400px;text-align:center;margin-left:auto;margin-right:auto;border:#888 solid 1px;font-size:22pt;padding:1em;}#sample{color:#ff0;background-color:#00f;}#result{background-color:#eee;}#result.success{color:#0a0;}#result.fail{color:#a00;}