رفتن به مطلب

فوتر سر جاش میمونه با اینکه اتو گذاشتم


پست های پیشنهاد شده

سلام دوستام

یه صفحه طراحی کردم مال سینگل هست

فوتر سر جاش میمونه وقتی قسمت کانتنتها که هیتشو اتو گذاشتم بزرگ میشه فتور نمیره پایین و سرجاش میمونه

عکس ببینید

http://up6.ir/1TU5

لینک به ارسال

به main اصلی که هدر، مقالات و فوتر داخلش هست دستور زیر رو بدین


overflow:hidden;

لینک به ارسال

کدهای مربوط به اون قسمت


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php bloginfo('name');?></title>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url');?>"/>

<!-- Start sarv-it.com HEAD section -->
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri();?>/engine1//style.css" media="screen" />
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/engine1//jquery.js"></script>
<!-- End sarv-it.com HEAD section -->
</head>
<body>
<div class="header">
<div class="top">
<ul>
<li><a style="color:#FFF; background-color:#000;" href="">English </a></li>
<li><a href="">persian</a></li>
</ul>
</div>
<!--jj -->

<div class="slogo1"><img src="<?php echo get_template_directory_uri();?>/img/mithlinken.jpg" /></div>
<div class="splogo1"><font style="color:#F5F5F5"> Mithras Art Group's Official Website </font><br />
<font style="color:#999;"> Photography, Graphic Design and Art Studio. </font></div>
<div class="smenu">
<?php
if(function_exists('wp_nav_menu')){
wp_nav_menu(array('theme_location' => 'secondary-menu' , 'fallback_cb' => 'secondarymenu'));
}else{
secondarymenu();
}
?>
</div>
</div>
<div class="single">
<?php if(have_posts()):?>
<?php while(have_posts()) : the_post() ;?>
<div class="scontent">
<div style="direction:rtl; text-align:center; margin-right:50px; font:22px 'sultan'; margin-bottom:10px; color:#09F;"><a href="<?php the_permalink();?>"><?php the_title();?></a></div>
<?php the_content();?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<div class="sfooter" style="position:relative;">
<div style="float:right; margin-right:460px; margin-top:20px; font:12px 'byekan'; ">Mithras Art Group // ©2013 - All rights reserved.</div>
<div class="f1">
<ul>
<li><a href=""><img src="<?php echo get_template_directory_uri();?>/img/facelogo.gif" /></a></li>
<li><a href=""><img src="<?php echo get_template_directory_uri();?>/img/goolelogo.gif" /></a></li>
<li><a href=""><img src="<?php echo get_template_directory_uri();?>/img/twitterlogo.gif" /></a></li>
</ul>
</div>
<div style="float:right; margin-right:520px; margin-top:-10px; font:12px 'byekan'; " >The site design
<a href="www.sarv-it.com">Sarv-It</a>
</body>
</html>


.sfooter {
width: 100%;
height: 130px;
background-color: #e9e4de;
direction:ltr;
}
/************************/
.single{
width:100%;
height:auto;
min-height:380px;
background-image: url(img/fa_tran-rep.png);
background-repeat: repeat-y;
background-color: #CCC;
background-repeat: repeat;
margin-top: -23px;
}
.scontent{
width:890px;
height:auto;
float:left;
direction:ltr;
text-align:justify;
margin:-160px 0 0 130px;
line-height:25px;
font:16px 'blotus';
color:#000;
text-shadow:1px 2px 6px #999;
}

لینک به ارسال

به احنمال زیاد شما برای یک بخش ارتقاع معیتی را انتخاب کردید و چونکه متن طولانی شده بقیه مطالب overflow کرده و فوتر هم تا جایی که ارتفاع مشخص شده اومده بالا. اینجوری نمیشه کمکتون کرد شما سایت را به طور موقتی بارگزاری کنید تا بتونیم کمکتون کنیم.

لینک به ارسال
  • 2 هفته بعد...

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...