<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'margin.jsp' starting page</title>
<style>
div{
height:100px;
width:1002px;
background:yellow;
margin:0px auto;
}
</style>
</head>
<body>
<div></div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'margin.jsp' starting page</title>
<style>
div{
height:100px;
width:1002px;
background:yellow;
margin:0px auto;
}
</style>
</head>
<body>
<div></div>
</body>
</html>