M
Mr. X.
Hello.
I work by centering the elements on the browser using <div>
The following code doesn't center the elements, on IE 5.5 and lower.
Is there any technique to center the elements ?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="test_nav.css" />
<SCRIPT SRC="Main.js" type="text/javascript">
</SCRIPT>
</head>
<body bgcolor = "lightblue">
<div id = "wrap">
</div>
</body>
</html>
test_nav.html
=========
#wrap
{
top:0;
height:850px;
width:760px;
margin:auto;
background-color:red;
}
Thanks )
I work by centering the elements on the browser using <div>
The following code doesn't center the elements, on IE 5.5 and lower.
Is there any technique to center the elements ?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="test_nav.css" />
<SCRIPT SRC="Main.js" type="text/javascript">
</SCRIPT>
</head>
<body bgcolor = "lightblue">
<div id = "wrap">
</div>
</body>
</html>
test_nav.html
=========
#wrap
{
top:0;
height:850px;
width:760px;
margin:auto;
background-color:red;
}
Thanks )