ender
January 7th, 2015, 23:44
سلام .
من تو قسمت بادی از این تگ استفاده کردم برای بخش بندی سایت ::
<head>
<meta charset="UTF-8">
<title>company</title>
<meta name="description" content="///">
<meta name="keywords" content="///">
<meta name="robots" content="index,follow">
<meta name="copyright" content="i">
<!--css link-->
<link rel="stylesheet" href="css/style.css" type="text/css">
<!--/css link-->
</head>
<body>
<div id="main"></div>
<div id="logo-text">عنوان سایت</div>
</body>
</html>
و تو فایل css هم اینو زدم ::
*{
direction:rtl;
padding:0;
margin:0;
}
@font-face {
font-family: 'WYekan';
src: url('font/WeWYekan.eot');
src: url('font/WebYekan.eot?#iefix') format('embedded-opentype'),
url('font/WebYekan.woff') format('woff'),
url('font/WebYekan.ttf') format('truetype'),
url('font/WebYekan.svg#WebYekan') format('svg');
font-weight: normal;
font-style: normal;
unicode-range: U+0600–06FF;
}
body{
background-color:#ededed;
}
#main{
margin-right:250px;
margin-left:250px;
width:900px;
height:1500px;
float:none;
}
اما الان مشکل اینجاست که title سایت زیره main افتاده .
من در قسمت main باید از چه کدی استفاده بکنم تا همه قسمت هایی که با تگ div تعریف میکنم تو قسمت خودش باشه ؟؟
از float باید استفاده بکنم ؟؟
من تو قسمت بادی از این تگ استفاده کردم برای بخش بندی سایت ::
<head>
<meta charset="UTF-8">
<title>company</title>
<meta name="description" content="///">
<meta name="keywords" content="///">
<meta name="robots" content="index,follow">
<meta name="copyright" content="i">
<!--css link-->
<link rel="stylesheet" href="css/style.css" type="text/css">
<!--/css link-->
</head>
<body>
<div id="main"></div>
<div id="logo-text">عنوان سایت</div>
</body>
</html>
و تو فایل css هم اینو زدم ::
*{
direction:rtl;
padding:0;
margin:0;
}
@font-face {
font-family: 'WYekan';
src: url('font/WeWYekan.eot');
src: url('font/WebYekan.eot?#iefix') format('embedded-opentype'),
url('font/WebYekan.woff') format('woff'),
url('font/WebYekan.ttf') format('truetype'),
url('font/WebYekan.svg#WebYekan') format('svg');
font-weight: normal;
font-style: normal;
unicode-range: U+0600–06FF;
}
body{
background-color:#ededed;
}
#main{
margin-right:250px;
margin-left:250px;
width:900px;
height:1500px;
float:none;
}
اما الان مشکل اینجاست که title سایت زیره main افتاده .
من در قسمت main باید از چه کدی استفاده بکنم تا همه قسمت هایی که با تگ div تعریف میکنم تو قسمت خودش باشه ؟؟
از float باید استفاده بکنم ؟؟