it's supposed to be obvious, but in all major browsers, the div content is not hidden:
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
<style>
#confContent{
border:solid 1px #FF0000;
width:700px;
height:600px;
background-color:#00CC00;
left:50%;
display:none;
position:absolute;
}
</style>
</head>
<body>
<div id="confContent">
<p style="color:#0000FF">Some content goes here</p>
</div>
</body>
</html>
Actually, all the prperties doesn't seems to work, the div
is not shifted to 30% left, doesn't have a background color, is not hidden and doesn't have a border. Please help. Thanx in advance.