TIPS-Get 100% Height in XHTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Height Test</title></head><body><div style="background-color:Gray; height:100%;">AAA</div></body></html>
height:100%的寫法過去明明用得好好,昨是今非,為什麼?
XHTML!