Konu Başlığı: Table yerine div kullanmak
View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 03.08.2005   #23 (permalink)
Sercotec
 
Sercotec's Avatar
 
Üyelik Tarihi: 30.07.2004
Yer: Istanbul
Yaş: 36
Mesaj: 248
Re: Table yerine div kullanmak

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...
__________________
Serkan Ertürk
Primus Inter Pares
http://www.sercotec.net
Sercotec şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin