tufy_35
🏅Acemi Tasarımcı🏅
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
.main {width:960px; margin:0 auto;}
.header {}
.left {float:left; width:200px;}
.center {float:left; width:560px; text-align:center;}
.right {float:left; width:200px;}
.content {text-align:center;}
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="left">Sol Div</div>
<div class="center">Orta Div</div>
<div class="right">Sağ Div</div>
</div>
<div class="content">İçerik Div</div>
</div>
</body>
</html> Aşağıdaki kodda bir önek yaptım senin için.
Kod:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style> .main {width:960px; margin:0 auto;} .header {} .left {float:left; width:200px;} .center {float:left; width:560px; text-align:center;} .right {float:left; width:200px;} .content {text-align:center;} </style> </head> <body> <div class="main"> <div class="header"> <div class="left">Sol Div</div> <div class="center">Orta Div</div> <div class="right">Sağ Div</div> </div> <div class="content">İçerik Div</div> </div> </body> </html>