Hi
I've a seimple code for create an black rectangle long as the entire body

The problem is that when i resize di windows and the body goes under the min-width, scrollbar appears and moving it i see that the black rectangel is "cut" in the part that exceed

Searching on internet, i've found that solution is to set margin and padding of the body element to 0px... in my case didn't work

PHP Code:
</head>

<
style type"text/css">

htmlbody
{  
    
width100%;
    
min-width:500px;
    
height100%;
    
min-height:700px;
    
margin:0px;
    
padding0px;  
}

#red {
     
position:absolute;
     
top:100px;
     
width:100%;
     
min-width:100%;
     
height:37%;
     
min-height:300px;
     
max-height:330px;
     
backgroundrgb(0,0,0);
     
margin0px;
    
padding0px;
}

</
style>

<
body>

<
div id="red"></div>

</
body>
</
html