This is my simple code
<!DOCTYPE html>
<html>
<head>
<style>
div{height:100%;width:100%;background:red;position:relative;}
</style>
</head>
<body>
<div></div>
</body>
</html>
CSS height 100% is not applying for DIV.
I know some other css code to obtain this. But why this code is not working. how to work on height 100% and width 100% without any script.