I'm using the XHTML 1.0 Transitional DOCTYPE so that CSS a:hover{color:o range;} will work but now it won't let me specify the div height in %.. Anyone know what i should do? how can i specify height in % or do both with some other doc type or method?
Thanks!
Thanks!
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <div id="box" style="background-color:blue; height:80%; width:200px;"> </div> </body> </html>
Comment