olampiad
یک شنبه 18 خرداد 1393, 17:23 عصر
سلام و خسته نباشید به اساتید عزیز
به این کد من یه نگا بندازید
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
#one{
margin:auto;
width:900px;
height:120px;
background:#F36;
}
.tt{
width:100px;
height:100px;
background:#FF0;
margin:10px;
}
</style>
</head>
<body>
<div id="one">
<div class="tt"></div>
<div class="tt"></div>
<div class="tt"></div>
<div class="tt"></div>
<div class="tt"></div>
</div>
</body>
</html>
به این تصویر هم یه نگا بندازید
http://s5.picofile.com/file/8125890476/Capture.png
این تصویر نتایج کدهای بالایی است
چند روش وجود دارد که بلاک های زرد رنگ به جای اینکه کنار هم قرار گیرند
زیر هم قرار گیرند.
بی نهایت ممنون
به این کد من یه نگا بندازید
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
#one{
margin:auto;
width:900px;
height:120px;
background:#F36;
}
.tt{
width:100px;
height:100px;
background:#FF0;
margin:10px;
}
</style>
</head>
<body>
<div id="one">
<div class="tt"></div>
<div class="tt"></div>
<div class="tt"></div>
<div class="tt"></div>
<div class="tt"></div>
</div>
</body>
</html>
به این تصویر هم یه نگا بندازید
http://s5.picofile.com/file/8125890476/Capture.png
این تصویر نتایج کدهای بالایی است
چند روش وجود دارد که بلاک های زرد رنگ به جای اینکه کنار هم قرار گیرند
زیر هم قرار گیرند.
بی نهایت ممنون