Sen yine de problemi yazarken de sistematik olmakdan kaçınma,
<!DOCTYPE
HTML PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<
HTML>
<head>
<meta http-equiv="Content-Type" content="text/
HTML; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/
CSS">
<!--
body {
text-align: center;
margin: 0px;
padding: 0px;
}
#container {
height: 50px;
width: 100%;
background-color: #00CC00;
}
#siyah {
height: 50px;
width: 100px;
margin-right: auto;
margin-left: auto;
background-color: #000000;
}
-->
</style>
</head>
<body>
<
div id="container">
<
div id="siyah"></
div>
</
div>
</body>
</
HTML>
Bak bakalım bu kod istediğin etkiyi veriyor mu her ikisinde de...