PDA

View Full Version : سوال: تنظیم اسکرول عمودی



بهارجون
یک شنبه 16 تیر 1392, 12:07 عصر
سلام دوستان
من یک سایت طراحی کردم با اینکه کد <style>
body{overflow:hidden}
</style>
رو هم گذاشتم اما بازهم اسکرول صفحه تنظیم نمیشه میشه کمکم کنید
ممنون

MMSHFE
یک شنبه 16 تیر 1392, 14:26 عصر
اینو امتحان کنید:

body, html {
overflow: hidden;
}

بهارجون
دوشنبه 17 تیر 1392, 08:20 صبح
این رو هم گذاشتم درست نشد

MMSHFE
دوشنبه 17 تیر 1392, 10:27 صبح
میشه بگین منظورتون از اینکه میگین تنظیم نمیشه چیه؟ دقیقاً چه کاری میخواین انجام بشه؟

بهارجون
دوشنبه 17 تیر 1392, 10:47 صبح
ببینید اسکرول صفحه وبی که من درست کردم خیلی بزرگتر از محتوای صفحه است. یعنی من اسکرول رو که میارم پایین دیگه هیچ محتوایی صفحه نداره و خالیه ولی اسکرول هنوز جا داره که پایین تر بیاد! !

MMSHFE
دوشنبه 17 تیر 1392, 10:52 صبح
باید کد کامل رو و همچنین تصویر خروجی شما رو ببینیم با بفهمیم مشکل از کجاست. اگه بتونید نرم افزار Team Viewer رو نصب کنید و اطلاعات Remote Connection رو برام با پیام خصوصی بفرستین تا به سیستمتون وصل بشم و از همونجا مشکل رو حل کنم، کار خیلی راحتتر میشه. اگر هم نمیشه، همینجا کد صفحه و تصویر خروجی رو بگذارین تا ببینیم چیکار میشه کرد.

MMSHFE
دوشنبه 17 تیر 1392, 11:06 صبح
اونوقت کدتون چی؟ کد کامل همین صفحه رو همراه با کدهای CSS بگذارین.

بهارجون
دوشنبه 17 تیر 1392, 11:11 صبح
<?php
require 'header.php';
require '../class/sql_p.php';
?>
<script type="text/javascript" src=../jquery/jquery-ui-1.8.22.custom.min.js language="javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="../jquery/mag.js">
/***********************************************
* jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>

<script src="../jquery/jquery-1.7.2.min.js"></script>
<script src="../jquery/jquery-ui-1.8.18.custom.min.js"></script>
<script src="../jquery/lightbox.js"></script>
<script src="../jquery/uptable.js">
</script>
<link rel="stylesheet" type="text/css" href="../css/nivo-slider.css" />
<link href="../css/nivo-slider.css" rel="stylesheet" type="text/css" />
<link href="../css/default/default.css" rel="stylesheet" type="text/css" />
<script src="../jquery/jquery.nivo.slider.js" type="text/javascript" charset="UTF-8"></script>
<script src="../jquery/jquery.nivo.slider.pack.js" type="text/javascript" charset="UTF-8"></script>
<link rel="stylesheet" href="../css/lightbox.css" type="text/css" media="screen" />
<div id="content" style="background-color: rgb(244,244,244);">
<div id="header_content" dir="rtl" style="font-weight: bold;">
<div style="padding-right: 20px;color: rgb(255,203,5);">
چراغ های چمنی
</div>
</div>
<div class="table-wrapper">
<div class="wrapper-paging">
<ul id='menuf3' style="font-size:12px" >
<li><a class="paging-back" >&lt;</a></li>
<li><a class="paging-this"><b id='page' style="color:blue">0</b> of <span>x</span></a></li>
<li><a class="paging-next">&gt;</a></li>
</ul>
</div>
<div class="wrapper-panel" align="center" style="z-index: 30">
<table align='center' cellpadding=4 cellspacing=1 id='celebs' style="z-index: 20;padding-top: 25px">
<?php
$server = "localhost";
$login = "root";
$password = "";
$link = mysql_connect($server, $login, $password);
if (!$link) {
die("Could not connect $server:" . mysql_error());
}

$db_selected = mysql_select_db("kianstar");

if (!$db_selected) {
die ("Can\'t use Table : $db_selected" . mysql_error());
}
$query = "SELECT id,code,description FROM products WHERE ccode='1' ";
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query:' . mysql_error() . "\n";
die($message);
}

$count=0;
echo "<tr>";

while ($row = mysql_fetch_array($result)){
echo "<td>";
$count++;
$color="#fffff";//mamooli
$image_id=$row['id'];
mysql_connect('localhost', 'root', '') or die('Connection error');
mysql_select_db('kianstar') or die('Database error');
mysql_query('SET NAMES \'utf8\'');
mysql_set_charset('utf8');
$images = mysql_query('SELECT pic FROM products where id=$image_id');
if($images && mysql_num_rows($images) > 0) {
while($image = mysql_fetch_assoc($image)) {
echo '<a href="images/' . $image['imagefile'] . '" title="' . $image['title'] . '"><img altsrc="thumbs/' . $image['thumbfile'] . '" /></a>' . PHP_EOL;
}
mysql_free_result($images);
}
$des=$row['description'];
echo"<div class='imageRow'>";
echo "<div class='single' style='border:solid;border-width:1px; border-color:rgb(144,144,144);-moz-box-shadow:inset 0 0 100px red;
-webkit-box-shadow:inset 0 0 10px red;
box-shadow:inset 0 0 10px red; box-shadow:rgb(144,144,180) 1px 1px 5px; width:200px;height:300px'>";
echo "<a href='../page/getimage.php?id=$image_id' rel='lightbox' style='text-decoration: none;' >";
echo "<img SRC=\"../page/getimage.php? id=$image_id\" class='magnify txt=$des' style='width:150px; height:250px; padding-left:25px; padding-top:10px' />";
//echo '<a href="images/' . $image['imagefile'] . '" title="' . $image['title'] . '"><img altsrc="thumbs/' . $image['thumbfile'] . '" /></a>' ;
echo "<div align='center' style='color:rgb(170,150,150);font-weight:bold' dir='rtl'>";
echo "جزئیات محصول";
echo "</div>";
echo "</div>";
echo "</div>";
echo "</td>";
if(!($count%3)){
echo "</tr>";
echo "<tr>";
}
}
echo "</tr>";
?>
</table>
</div>
</div>
</div>
<?php
include 'footer.php';
?>

بهارجون
دوشنبه 17 تیر 1392, 11:12 صبح
اینم کد css

@CHARSET "windows-1256";
#menuf3 {
top:0px;
position:relative;
font-family:Tahoma;
font-size:1.1em;
top:2px;
border:0px solid rgb(109,108,153);
width:110px;
left:250px;
height:10px;
align:left;
list-style: none;
z-index: 8;
}
#menuf3 li {
float: left;
cursor: pointer;
background-color: #1548;
}
#menuf3 a {
padding:5px;
width:50px;
}
html, body { overflow:auto }
#master{
border:solid;
border-width:thin;
background-image:url("../images/bg.jpg");
border-color:black;
height: 1500px;
width: 1242;
position: relative;
}
#nav li{
display: inline;
list-style-type: none;
padding-right: 20px;
}
#inside{
border:solid;
border-width:thin;
border-color:rgb(255,203,5);
background-color:white;
height:1480;
width:1000;
top:10px;
position: relative;
left: 110px;
}
#header{
border:solid;
border-width:thin;
border-color:rgb(255,203,5);
background-color:black;
height:90;
width:1000;
top:-3px;
position: relative;
left: -1px;
}
#logo{
height:70;
width:185;
top:5px;
position: relative;
left: 720px;
}
#facebook{
border-color: blue;
height:30;
width:370;
top:-30;
position: relative;
left: 25px;
}
#jquery{
background-color:rgb(43,41,42);
height:37;
width:1003;
top:-10px;
position: relative;
left: -2px;
}
#tmenu{
top:-2px;
position:relative;
}
#tmenu2{
top:-2px;
position:relative;
}
#bmenu{
top:-20px;
position:relative;
}
#bmenu2{
top:-20px;
position:relative;
}
#mmenu{
background-color:rgb(43,41,42);
height:37;
width:1003;
top:-19px;
position: relative;
left: -2px;
}
#search{
background-color:rgb(253,194,0);
height:30;
width:310;
top:-1302px;
position: relative;
left: 110px;
}
#lslide{
position: relative;
left:113px;
top:-1318px;
}
#rslide{
position: relative;
left:1101px;
top:-2028px;
}
#bslide{
position: relative;
left:111px;
top:-2028px;
}
#slideshow{
height:350;
width:988;
top:-1677px;
position: relative;
left: 122px;
}
#lslide_en{
position: relative;
left:111px;
top:-1305px;
}
#rslide_en{
position: relative;
left:1101px;
top:-2021px;
}
#bslide_en{
position: relative;
left:111px;
top:-2021px;
}
#slideshow_en{
height:350;
width:988;
top:-1666px;
position: relative;
left: 121px;
}
#marquee{
height:30;
width:988;
top:-1000px;
position: relative;
left: 115px;
}
#content{
border:solid;
border-width:thin;
border-color: rgb(161,161,161);
height:750;
width:720;
top:-2297px;
position: relative;
left: 380px;
}
#header_content{
background-color:rgb(43,41,42);
height:25;
width:722;
top:-1px;
position: relative;
left: -1px;
}
#vote{
border:solid;
border-width:thin;
border-color: rgb(161,161,161);
height:350;
width:254;
top:-2046px;
position: relative;
left: 119px;
}
#header_vote{
background-color:rgb(43,41,42);
height:25;
width:256;
top:-3px;
position: relative;
left: -1px;
}
#webgozar{
border:solid;
border-width:thin;
border-color: rgb(161,161,161);
height:248;
width:254;
top:-2046px;
position: relative;
left: 119px;
}
#header_webgozar{
background-color:rgb(43,41,42);
height:25;
width:256;
top:-3px;
position: relative;
left: -1px;
}
#footer{
color:white;
background-color:rgb(31,31,31);
height:180;
width:1003;
top:-2290px;
position: relative;
left: 110px;
}
#nav {
font-family: cursive;
position: relative;
width: 1000px;
height:20px;
font-size:15px;
font-weight:bold;
color:rgb(255,157,42);
margin: 0;
z-index: 3;
top:-1px;
left: -2px;
}
#nav ul {
list-style-type: none;
}
#nav ul li {
float: right;
position: relative;
}
#nav ul li a {
text-align: center;
border-left:1px solid rgb(255,203,5);
border-spacing:1;
padding:15px;
display:block;
font-style:normal;
color:white;
text-decoration:none;
color:rgb(255,203,5);
height:7px;
top: 10px;
}
#nav ul li a:link {
text-decoration: none;
}
#nav ul li a:visited {
text-decoration: none;
}
#nav ul li a:hover {
text-decoration: none;
}
#nav ul li a:active {
text-decoration: none;
}
#nav ul li ul {
display: none
}
#nav ul li:hover ul {
display: block;
position: absolute;
}
#nav ul li:hover ul li a {
display:block;
background:rgb(66,64,67);
font-color:white;
color:black;
width: 120px;
height:20px;
text-decoration:none;
text-align: center;
border-bottom: 1px solid black;
border-right: none;
}
#nav ul li:hover ul li a:hover {
background:rgb(70,60,19);
color:#fff;
}
#largeImage {
position: absolute;
padding: .5em;
background: #e3e3e3;
border: 1px solid #BFBFBF;
}
a img {
border: none;
}
#master2{
border:solid;
border-width:thin;
background-image:url("../images/bg.jpg");
border-color:black;
height: 620;
width: 1242;
position: relative;
}
#nav2 li{
display: inline;
list-style-type: none;
padding-right: 20px;
}
#inside2{
border:solid;
border-width:thin;
border-color:rgb(255,203,5);
background-color:rgb(211,211,211);
height:530;
width:1000;
top:10px;
position: relative;
left: 110px;
}
#header2{
border:solid;
border-width:thin;
border-color:rgb(255,203,5);
background-color:black;
height:90;
width:1000;
top:-3px;
position: relative;
left: -1px;
}
#logo2{
height:70;
width:185;
top:6px;
position: relative;
left: 720px;
}
#facebook2{
border-color: blue;
height:30;
width:370;
top:-30;
position: relative;
left: 25px;
}
#jquery2{
background-color:rgb(43,41,42);
height:37;
width:1003;
top:-10px;
position: relative;
left: -2px;
}
#mmenu2{
background-color:rgb(43,41,42);
height:37;
width:1003;
top:-19px;
position: relative;
left: -2px;
direction: ltr;
}
#search2{
background-color:rgb(253,194,0);
height:33;
width:310;
top:-380px;
position: relative;
left: 110px;
}
#slideshow2{
height:350;
width:988;
top:90px;
position: relative;
left: -1px;
}
#slideshow3{
height:350;
width:988;
top:-340px;
position: relative;
left: 111px;
}
#news3{
height:343;
width:428;
top:-689;
position: relative;
left:672px;
}
#news{
height:343;
width:428;
top:-260;
position: relative;
left:560px;
}
#lt{
border:solid;
border-color:yellow;
border-width: thin;
height:171;
width: 214;
position: relative;
top:-2px;
left:-2px;
}
#rt{
border:solid;
border-color:navy;
border-width: thin;
height:171;
width: 214;
position: relative;
top:-175px;
left:214px;
}
#lb{
border:solid;
border-color:fuchsia;
border-width: thin;
height:175;
width: 214;
position: relative;
top:-175px;
left:-1px;
}
#rb{
border:solid;
border-color:maroon;
border-width: thin;
height:175;
width: 214;
position: relative;
top:-352px;
left:214px;
}
#nav2 {
font-family: cursive;
position: relative;
width: 1000px;
height:20px;
font-size:15px;
font-weight:bold;
color:rgb(255,157,42);
margin: 0;
direction:ltr;
z-index: 3;
top:-1px;
left: -2px;
}
#nav2 ul {
list-style-type: none;
}
#nav2 ul li {
float: right;
position: relative;
}
#nav2 ul li a {
text-align: center;
border-left:1px solid rgb(255,203,5);
border-spacing:1;
padding:15px;
display:block;
font-style:normal;
color:white;
text-decoration:none;
color:rgb(255,203,5);
height:7px;
top: 10px;
}
#nav2 ul li ul {
display: none
}
#nav2 ul li:hover ul {
display: block;
position: absolute;
}
#nav2 ul li:hover ul li a {
display:block;
background:rgb(66,64,67);
font-color:white;
color:black;
width: 120px;
height:20px;
text-decoration:none;
text-align: center;
border-bottom: 1px solid black;
border-right: none;
}
#nav2 ul li:hover ul li a:hover {
background:rgb(70,60,19);
color:#fff;
}
#nav3 {
font-family: cursive;
position: relative;
width: 1000px;
height:20px;
font-size:15px;
font-weight:bold;
color:rgb(255,157,42);
margin: 0;
direction:ltr;
z-index: 5;
top:-1px;
right:399px;
}
#nav3 ul {
list-style-type: none;
}
#nav3 ul li {
float: right;
position: relative;
}
#nav3 ul li a {
text-align: center;
border-left:1px solid rgb(255,203,5);
border-spacing:1;
padding:15px;
display:block;
font-style:normal;
color:white;
text-decoration:none;
color:rgb(255,203,5);
height:7px;
top: 10px;
}
#nav3 ul li ul {
display: none
}
#nav3 ul li:hover ul {
display: block;
position: absolute;
}
#nav3 ul li:hover ul li a {
display:block;
background:rgb(66,64,67);
font-color:white;
color:black;
width: 120px;
height:20px;
text-decoration:none;
text-align: center;
border-bottom: 1px solid black;
border-right: none;
}
#nav3 ul li:hover ul li a:hover {
background:rgb(70,60,19);
color:#fff;
}
#samane {
position: relative;
background-color:rgb(255,203,5);
width: 394px;
bottom: 50px;
left: -6%;
height: 22px;
font-family: fantasy;
}
#log {
padding-top: 10px;
background-image: url(../images/fff.gif);
padding: 20px;
position: relative;
border: 2px groove;
border-color: #999;
width: 350px;
height: 180px;
bottom: -60px;
left: 23%;
}
.ii {
width: 100px;
height: auto;
}
.clicked {
width: 300;
}
form #contactForm, .statusMessage, input[type="submit"], input[type="button"] {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#contactForm, .statusMessage {
color: #666;
background-color: #ebedf2;
background: -webkit-gradient( linear, left bottom, left top, color-stop(0,#dfe1e5), color-stop(1, #ebedf2) );
background: -moz-linear-gradient( center bottom, #dfe1e5 0%, #ebedf2 100% );
border: 1px solid #aaa;
-moz-box-shadow: 0 0 1em rgba(0, 0, 0, .5);
-webkit-box-shadow: 0 0 1em rgba(0, 0, 0, .5);
box-shadow: 0 0 1em rgba(0, 0, 0, .5);
opacity: .95;
}
#contactForm {
width: 40em;
height: 33em;
padding: 0 1.5em 1.5em 1.5em;
margin: 0 auto;
}
#contactForm.positioned {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin-top: auto;
margin-bottom: auto;
}
.statusMessage {
display: none;
margin: auto;
width: 30em;
height: 2em;
padding: 1.5em;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.statusMessage p {
text-align: center;
margin: 0;
padding: 0;
}
#contactForm h2 {
font-size: 2em;
font-style: italic;
letter-spacing: .05em;
margin: 0 0 1em -.75em;
padding: 1em;
width: 16.5em;
color:rgb(255,203,1);
background: #dfe0e5 url('images/stamp.jpg') no-repeat 15em -3em; /* http://morguefile.com/archive/display/606433 */
border-bottom: 1px solid #aaa;
-moz-border-radius: 10px 10px 0 0;
-webkit-border-radius: 10px 10px 0 0;
border-radius: 10px 10px 0 0;
}
#contactForm ul {
list-style: none;
margin: 0;
padding: 0;
}
#contactForm ul li {
margin: .9em 0 0 0;
padding: 0;
}
#contactForm input, #contactForm label {
line-height: 1em;
}
form label {
display: marker;
float: right;
clear: right;
text-align: right;
width: 28%;
padding: .4em 0 0 0;
margin: .15em 0 0 .5em;
font-weight: bold;
}
.dialog
{
background: #EEE;
border:1px solid #000000;
}
form textarea {
height: 16em;
line-height: 1.5em;
resize: none;
text-align: right;
}
#contactForm *:focus {
border: 1px solid #66f;
outline: none;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
}
input:valid, textarea:valid {
background: #fafad2;
}
#senderEmail:focus {
text-align: left;
direction: ltr;
}
form input[type="submit"], input[type="button"] {
float: left;
margin: 2em 1em 0 1em;
width: 8em;
padding: .3em;
border: 1px solid #666;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
-moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
-webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
color: #fff;
background:rgb(255,203,1);
font-size: 1em;
line-height: 1em;
font-weight: bold;
opacity: .7;
-webkit-appearance: none;
-moz-transition: opacity .5s;
-webkit-transition: opacity .5s;
-o-transition: opacity .5s;
transition: opacity .5s;
}
form input[type="submit"]:hover,
input[type="submit"]:active,
input[type="button"]:hover,
input[type="button"]:active {
cursor: pointer;
opacity: 1;
}
form input[type="submit"]:active, input[type="button"]:active {
color: #333;
background: #eee;
-moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
-webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
}
form input[type="button"] {
background: #f33;
}
.wideBox {
clear: both;
text-align: center;
margin: 70px;
padding: 10px;
background: #ebedf2;
border: 1px solid #333;
}
.wideBox h1 {
font-weight: bold;
margin: 20px;
color: #666;
font-size: 1.5em;
direction: rtl;
}
.wideBox h2 {
direction: rtl;
}
</style>
<!-- Some IE7 hacks and workarounds -->
<!--[if lt IE 8]>
<style>
/* IE7 needs the fields to be floated as well as the labels */
form input, textarea {
float: right;
}
#formButtons {
clear: both;
}
/*
IE7 needs an ickier approach to vertical/horizontal centring with fixed positioning.
The negative margins are half the element's width/height.
*/
#contactForm.positioned, .statusMessage {
left: 50%;
top: 50%;
}
#contactForm.positioned {
margin-left: -20em;
margin-top: -16.5em;
}
.statusMessage {
margin-left: -15em;
margin-top: -1em;
}
#largeImage {
position: absolute;
padding: .5em;
background: #e3e3e3;
border: 1px solid #BFBFBF;
}
a img {
border: none;
}
#menuf2 {
position:relative;
font-family:Tahoma;
font-size:1.1em;
bottom:0px;
border:0px solid rgb(109,108,153);
width:150px;
left:100px;
height:10px;
align:left;
list-style: none;
}
#menuf2 li {
float: left;
cursor: pointer;
background-color: #1548;
}
#menuf2 a {
padding:7px;
width:55px;
}
.tooltip {
display: none;
position: absolute;
border: 1px solid #333;
background-color: black;
color:rgb(255,203,5);
font-weight:bold;
padding: 4px 6px;
direction: rtl;
}

MMSHFE
دوشنبه 17 تیر 1392, 11:26 صبح
کد header و footer کجاست؟ ضمناً لطف کنید کدها رو توی تگ مناسب بگذارین تا درست نشون داده بشه.

بهارجون
دوشنبه 17 تیر 1392, 11:27 صبح
میشه بگین توی چه تگی باید قرار بدم

بهارجون
دوشنبه 17 تیر 1392, 11:28 صبح
این header



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title >کیان ستاره نوین</title>
<script type="text/javascript" src=../jquery/jquery.js language="javascript"></script>
<script type="text/javascript" src=../jquery/jquery-1.8.3.min.js language="javascript"></script>
<link rel="stylesheet" href="../css/css.css">
<link href="../css/nivo-slider.css" rel="stylesheet" type="text/css" />
<link href="../css/default/default.css" rel="stylesheet" type="text/css" />
<script src="../jquery/jquery.nivo.slider.js" type="text/javascript" charset="UTF-8"></script>
<script src="../jquery/jquery.nivo.slider.pack.js" type="text/javascript" charset="UTF-8"></script>
<script type="text/javascript" src=../jquery/login.js language="javascript"></script>
<script type="text/javascript" src=../jquery/save.js language="javascript"></script>
<script type="text/javascript" src=../jquery/date.js language="javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#slider').nivoSlider();
});
</script>
<style type="text/css">
html,body {
overflow-y:visible;
overflow-x:hidden;
}
</style>
</head>
<body>
<div id="master">
<div id="inside">
<div id="header">
<div id="logo">
<img src="../images/logo.bmp" />

</div>

<div id="facebook">
<table>
<tr>
<td>
<a href="#"><img src="../images/face-icon.jpg" /></a></td>
<td><a href="#"><img src="../images/youTube-icon.jpg" /></a></td>
<td><a href="#"><img src="../images/twitter-icon.jpg" /></a></td>
<td><a href="#"><img src="../images/googleplus.jpg" /></a></td>
<td><a href="#"><img src="../images/yahoochat1.jpg" /></a></td>
<td><a href="home_en.php" style="color: rgb(255,203,1); font-weight: bold;">English</a></td>
</table>
</div>
</div>
<div id="tmenu">
<img src="../images/tmenu2.png">
</div>
<div id="mmenu">
<div id="nav">
<ul>
<li style="width: 150px"><a href="index.php">صفحه اصلی</a>
</li>
<li style="width: 150px"><a href="#">محصولات</a>
<ul>
<li ><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="chamani.php">چراغهای چمنی</a></li>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="parki.php">چراغهای پارکی</a></li>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="khiabani.php">چراغهای خیابانی</a></li>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="monopol.php">دکل منوپل</a></li>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="mahari.php">دکل مهاری</a></li>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="paye.php">پایه چراغ</a></li>
</ul>
</li>
<li style="width: 150px"><a href="#">درباره ما</a>
<ul>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="about_us.php">درباره شرکت کیان ستاره نوین</a></li>
<li><a style="width: 150px;height: 5px;color: white; font-weight: normal;padding-top: 8px" href="client.php">مشتریان ما</a></li>
</ul>
</li>
<li style="width: 150px"><a href="contact_us.php">تماس با ما</a>
</li>
</ul>
</div>
</div>
<div id="bmenu">
<img src="../images/tmenu2.png">
</div>
</div>
<form method="POST" action="search.php">
<table>
<tr>
<td>
<input type="text" size="25" style="position: relative;top:-1350px;left:110px" name="se" value="search" onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'search':this.value;"/>
</td>
<td>
<input type='submit' id="search1" style="position: relative;top:-1368px;left:113px; width: 50px;height: 33px;padding-top: 0px" value="go" >
</td>
</tr>
</table>
</form>
</div>
<div id="lslide">
<img src="../images/men.png">
</div>
<div id="slideshow">
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider2">
<a href="#" title="عنوان اسلاید"><img src="../images/product/slide1.png" alt="" /></a>
<a href="#" title="عنوان اسلاید"><img src="../images/product/slide2.png" alt="" /></a>
</div>
</div>
</div>
<div id="rslide">
<img src="../images/men.png">
</div>
<div id="bslide">
<img src="../images/tmenu2.png">
</div>
<div id="marquee"></div>
<div id="webgozar">
<div id="header_webgozar">
<div dir="rtl" style="padding-right: 10px ;color: rgb(255,203,5);font-weight: bold">
آمار سایت
</div>
</div>
</div>
</body>
</html>

MMSHFE
دوشنبه 17 تیر 1392, 11:29 صبح
این دکمه های بالای سمت نوشتن پاسخ رو میبینید؟ روی دکمه مناسب برحسب نوع کدتون کلیک کنید تا خودش تگها رو براتون بگذاره و کدتون رو بین اون تگها قرار بدین.

بهارجون
دوشنبه 17 تیر 1392, 11:29 صبح
اینم footer



<div id="footer" dir="rtl">
<div style="padding-right: 40px;padding-top: 10px;">
دفتر مرکزی : نیشابور ، خیابان فردوسی شمالی
<br>
<br>
تلفن : - 0551
<br>
<br>
فکس : 2 - 0551
</div>
</div>

ehsan_savadkohi
دوشنبه 17 تیر 1392, 11:38 صبح
دوست عزیز ..
شما ابتدا این استایل ها را مقدارشا عوض کنید!!!
ببینید تغییری اعمل میشه...
html, body { overflow:auto }
#master{
border:solid;
border-width:thin;
background-image:url("../images/bg.jpg");
border-color:black;
height: 1500px;
width: 1242;
position: relative;
}
#nav li{
display: inline;
list-style-type: none;
padding-right: 20px;
}
#inside{
border:solid;
border-width:thin;
border-color:rgb(255,203,5);
background-color:white;
height:1480;
width:1000;
top:10px;
position: relative;
left: 110px;
}
مقدار height را تغییر بدید . به نظر من خیلی زیاده!!:متفکر:

بهارجون
دوشنبه 17 تیر 1392, 11:46 صبح
من ارتفاع master رو که تغییر میدم خودش کوچیک میشه اما اسکرول کوچیک نمیشه

ehsan_savadkohi
دوشنبه 17 تیر 1392, 11:59 صبح
من ارتفاع master رو که تغییر میدم خودش کوچیک میشه اما اسکرول کوچیک نمیشه

سایتت بالاست!؟ یا روی سیستم localhost کار میکنی؟؟؟
اگه بالاست آدرسشا بزار تا بهت بگم مشکل چیه؟؟

بهارجون
دوشنبه 17 تیر 1392, 12:09 عصر
نه هنوز upload نکردم

ehsan_savadkohi
دوشنبه 17 تیر 1392, 12:14 عصر
نه هنوز upload نکردم

یه احتمال وجود داره!!
1) اینکه در خود اسکریپتتون یه اون قسمت ، استایل داخلی دادید.که ارتفاع را مقدار داده باشید.

خوب دوست عزیز ...
اینجور نمیشه trace کرد. اگه امکانش هست سورس را آپلود کنید تا بهتر بشه روش مانوور داد.
موفق باشید...