PDA

View Full Version : سوال: مشکل من با این کد



capitan_nemesis
دوشنبه 31 فروردین 1394, 16:01 عصر
با سلام
من دارم یک سایت داینامیک طراحی میکنم
http://8pic.ir/images/cpzsm53lr7n1ftrohryn_thumb.png (http://8pic.ir/viewer.php?file=cpzsm53lr7n1ftrohryn.png)

خود موبایل استاتیک هستش تکون نمیخوره
ولی
داخلش داینامیک هستش
اینم کد
<!DOCTYPE html>
<html lang="ir">
<head>

<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/body.css">
<link rel="stylesheet" type="text/css" href="css/contect.css">
<link rel="stylesheet" type="text/css" href="css/menu.css">
<link rel="stylesheet" type="text/css" href="css/block.css">

<meta charset="utf-8" />
<title>صفحه اصلی</title>

</head>
<body>

<!-- box -->
<div id="box">

<!-- menu -->
<div id="menu">
<img src="image/logo.png">
<br>

<a href="index.php"><input type="button" name="index" value="صفحه اصلی" class="menu_input"></a><br>
<a href="gallery.php"><input type="button" name="index" value="گالری" class="menu_input"></a><br>
<a href="typic.php"><input type="button" name="index" value="مطالب" class="menu_input"></a><br>
<a href="news.php"><input type="button" name="index" value="اخبار" class="menu_input"></a><br>
<a href="about_us.php"><input type="button" name="index" value="درباره ما" class="menu_input"></a><br>
<a href="contact_us.php"><input type="button" name="index" value="تماس با ما" class="menu_input"></a>

</div>
<!-- menu -->

<!-- ipad -->
<div id="ipad">

<!-- contect -->
<textarea id="block_box">
<div class="block"></div>
</textarea>
<!-- contect -->

</div>
<!-- ipad -->

</div>
<!-- box -->

</body>
</html>
block چاپ نمیشه نشون داده نمیشه
چکار کنم ؟؟؟
اینم css
#block_box
{
width:565px;
height:651px;
float:left;
margin-top:73px;
margin-left:78px;
}

.block
{
background-color:#333;
width:565px;
height:20px;
}
ممنون

capitan_nemesis
دوشنبه 31 فروردین 1394, 16:27 عصر
پیداش کردم
<!DOCTYPE html>
<html lang="ir">
<head>

<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/body.css">
<link rel="stylesheet" type="text/css" href="css/contect.css">
<link rel="stylesheet" type="text/css" href="css/menu.css">
<link rel="stylesheet" type="text/css" href="css/block.css">

<meta charset="utf-8" />
<title>صفحه اصلی</title>

</head>
<body>

<!-- box -->
<div id="box">

<!-- menu -->
<div id="menu">
<img src="image/logo.png">
<br>

<a href="index.php"><input type="button" name="index" value="صفحه اصلی" class="menu_input"></a><br>
<a href="gallery.php"><input type="button" name="index" value="گالری" class="menu_input"></a><br>
<a href="typic.php"><input type="button" name="index" value="مطالب" class="menu_input"></a><br>
<a href="news.php"><input type="button" name="index" value="اخبار" class="menu_input"></a><br>
<a href="about_us.php"><input type="button" name="index" value="درباره ما" class="menu_input"></a><br>
<a href="contact_us.php"><input type="button" name="index" value="تماس با ما" class="menu_input"></a>

</div>
<!-- menu -->

<!-- ipad -->
<div id="ipad">

<!-- contect -->
<div id="block_box">
<div class="block">

<!--- title --->
<div style="background-color:#FFF; width:565px; height:30px; color:#F00;">
<p>title</p>
</div>
<!--- title --->



</div>
</div>
<!-- contect -->

</div>
<!-- ipad -->

</div>
<!-- box -->

</body>
</html>

#block_box
{
width:565px;
height:651px;
float:left;
margin-top:73px;
margin-left:78px;
overflow-y: scroll;
background-color:#CCC;
direction:rtl;
}

.block
{
background-color:#333;
width:565px;
min-height:100px;
color:#FFF;
}