برگزیده های پرشین تولز

علت کار نکردن marquee این صفحه تو فایرفکس؟

hossein_asp

کاربر تازه وارد
تاریخ عضویت
31 مارس 2005
نوشته‌ها
639
لایک‌ها
0
سن
39
محل سکونت
جایی که خدا نباشد
این صفحه حسابی اعصابم رو خرد کرده آخه کجاش ایراد داره که marquee تو اون جای که گذاشتمش کار نمیکنه (داخل دایو) تو فایر فکس میدونم marquee تو xhtml 1.0 وجود نداره اما تو عین این صفحه کار میکنه(حتی خارج این دایو) اما تو این یه صفحه نه!!!!! :wacko:

اینم کد صفحه:

HTML:
<!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></title>
</head>

<style type="text/css">
<!--
#Q_main {
	width: auto;
	margin-top: 5px;
	margin-bottom: 10px;
	padding-right: 2px;
	padding-left: 2px;
	height: auto;
}
#Q_main #body_bord {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #F0F5FC;
	border-left-color: #F0F5FC;
	background-color: #F9FAFB;
	padding-right: 5px;
	padding-left: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 3px;
	text-align: center;
}
#Q_main #top_bar {
	background-color: #F9FAFB;
	font-size: 10pt;
	font-weight: bold;
	color: #FFA177;
	text-align: center;
	font-family: Tahoma, Arial;
	padding-bottom: 5px;
}
#Q_main #envan {
	font-family: Tahoma, Arial;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
	padding-bottom: 15px;
	color: #7BC74A;
	padding-top: 15px;
}
#Q_main #img {
	text-align: center;
	margin-bottom: 20px;
}
#Q_main #matn {
	font-family: Tahoma, Arial;
	font-size: 11px;
	color: #396293;
	text-align: center;
	padding-top: 7px;
	margin: 0px;
	clip: rect(0px,auto,auto,auto);
	background-color: #F9FAFB;
}
#m_pc {
	height: auto;
	width: auto;
}
#Q_main #matn2 {
	font-family: Tahoma, Arial;
	font-size: 11px;
	color: #396293;
	text-align: right;
	padding-top: 5px;
	margin: 0px;
	clip: rect(0px,auto,auto,auto);
}
#Q_main #emkanat {
	height: auto;
	padding-top: 5px;
	font-family: Tahoma, Arial;
	font-size: 9pt;
	text-align: center;
	padding-bottom: 5px;
}
#Q_main #emkanat #e3 {
	float: right;
	width: auto;
	text-align: center;
}
#Q_main #top_User_inf #t1 {
	float: right;
	height: 20px;
	margin-left: 5px;
}
#Q_main #top_User_inf #t2 {
	float: right;
	height: 20px;
	margin-right: 5px;
	margin-left: 5px;
}
#Q_main #top_User_inf #t3 {
	float: right;
	height: 20px;
	margin-right: 5px;
	margin-left: 5px;
}
#Q_main #top_User_inf {
	height: 10px;
	margin-bottom: 10px;
	font-family: Tahoma, Arial;
	font-size: 10px;
	color: #8597AF;
}
#le  {
	float: left;
	height: 15px;
	width: 17px;
	background-image: url(pack/lee.gif);
	background-color: #FFFFFF;
}
#top_bar #cen {
	height: 15px;
	width: auto;
	background-color: #F9FAFB;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #F0F5FC;
}
#rig  {
	float: right;
	height: 15px;
	width: 17px;
	background-image: url(pack/ree.gif);
	background-color: #FFFFFF;
}
#le_btm  {
	float: left;
	height: 15px;
	width: 17px;
	background-image: url(pack/le_btn.gif);
	background-color: #FFFFFF;
}
#down_bar   #cen_btm {
	height: 15px;
	width: auto;
	background-color: #F9FAFB;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F0F5FC;
}
#rig_btm  {
	float: right;
	height: 15px;
	width: 17px;
	background-image: url(pack/re_btn.gif);
	background-color: #FFFFFF;
}
#Navigation_bar {
	height: 20px;
	width: 320px;
	text-align: center;
	display: block;
	margin-top: 15px;
	padding-top: 5px;
	padding-right: 3px;
	padding-left: 3px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
#bbtn_box_r {
	height: 20px;
	width: 20px;
	float: right;
	padding-right: 10px;
}
#bbtn_box_l {
	float: left;
	height: 20px;
	width: 20px;
	padding-right: 10px;
}

#Pagenum_stat {
	text-align: center;
	height: 20px;
	width: 200px;
	float: left;
	font-size: 9pt;
	font-weight: bold;
}
.style1 {
	color: #6BB838;
	font-family: Tahoma, Arial;
	font-size: 9pt;
	font-weight: bold;
}
-->
</style>
</head>
<body>
<div id="m_pc">
<!--begin main-->
<div dir="rtl" id="Q_main">
  <!--hel-->
  <div id="top_bar">
    <div id="le"></div>
    <div id="rig"></div>
    <div id="cen"></div>
  </div>
  <!--hel-->
  <div id="matn">
  <marquee class="style1" behavior="scroll" align="middle" direction="right" bgcolor="" width="100%" height="20" scrollamount="2"  scrolldelay="90" style="border="0">
    سخنی از بزرگان قرار داده شده است جمله ای که شما اینجا می نویسید     </marquee>
    <br />
    <br />
  </div>
  <!--body bord-->
  <div id="down_bar">
    <div id="le_btm"></div>
    <div id="rig_btm"></div>
    <div id="cen_btm"></div>
  </div>
</div>
<!--end main-->
<div id="reader"></div>
<!--end cmmens reader-->
</div>
</body>
</html>
 

cssdesign

Registered User
تاریخ عضویت
5 دسامبر 2006
نوشته‌ها
318
لایک‌ها
2
سن
41
محل سکونت
sAri
ارادتمندم دوست عزیز
راه حل شما، تنها کمی توجه به کد های صفحه خودتان است.
توجه کنید که چند تگ </head> در صفحه است؟!
کد ها رو اصلاح کردم، در مرورگر های IE 7, Opera 9.2 , 2.0.0.7 تست کردم جواب داد:
HTML:
<!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></title>

<style type="text/css">
<!--
#Q_main {
	width: auto;
	margin-top: 5px;
	margin-bottom: 10px;
	padding-right: 2px;
	padding-left: 2px;
	height: auto;
}
#Q_main #body_bord {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #F0F5FC;
	border-left-color: #F0F5FC;
	background-color: #F9FAFB;
	padding-right: 5px;
	padding-left: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 3px;
	text-align: center;
}
#Q_main #top_bar {
	background-color: #F9FAFB;
	font-size: 10pt;
	font-weight: bold;
	color: #FFA177;
	text-align: center;
	font-family: Tahoma, Arial;
	padding-bottom: 5px;
}
#Q_main #envan {
	font-family: Tahoma, Arial;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
	padding-bottom: 15px;
	color: #7BC74A;
	padding-top: 15px;
}
#Q_main #img {
	text-align: center;
	margin-bottom: 20px;
}
#Q_main #matn {
	font-family: Tahoma, Arial;
	font-size: 11px;
	color: #396293;
	text-align: center;
	padding-top: 7px;
	margin: 0px;
	clip: rect(0px,auto,auto,auto);
	background-color: #F9FAFB;
}
#m_pc {
	height: auto;
	width: auto;
}
#Q_main #matn2 {
	font-family: Tahoma, Arial;
	font-size: 11px;
	color: #396293;
	text-align: right;
	padding-top: 5px;
	margin: 0px;
	clip: rect(0px,auto,auto,auto);
}
#Q_main #emkanat {
	height: auto;
	padding-top: 5px;
	font-family: Tahoma, Arial;
	font-size: 9pt;
	text-align: center;
	padding-bottom: 5px;
}
#Q_main #emkanat #e3 {
	float: right;
	width: auto;
	text-align: center;
}
#Q_main #top_User_inf #t1 {
	float: right;
	height: 20px;
	margin-left: 5px;
}
#Q_main #top_User_inf #t2 {
	float: right;
	height: 20px;
	margin-right: 5px;
	margin-left: 5px;
}
#Q_main #top_User_inf #t3 {
	float: right;
	height: 20px;
	margin-right: 5px;
	margin-left: 5px;
}
#Q_main #top_User_inf {
	height: 10px;
	margin-bottom: 10px;
	font-family: Tahoma, Arial;
	font-size: 10px;
	color: #8597AF;
}
#le  {
	float: left;
	height: 15px;
	width: 17px;
	background-image: url(pack/lee.gif);
	background-color: #FFFFFF;
}
#top_bar #cen {
	height: 15px;
	width: auto;
	background-color: #F9FAFB;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #F0F5FC;
}
#rig  {
	float: right;
	height: 15px;
	width: 17px;
	background-image: url(pack/ree.gif);
	background-color: #FFFFFF;
}
#le_btm  {
	float: left;
	height: 15px;
	width: 17px;
	background-image: url(pack/le_btn.gif);
	background-color: #FFFFFF;
}
#down_bar   #cen_btm {
	height: 15px;
	width: auto;
	background-color: #F9FAFB;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F0F5FC;
}
#rig_btm  {
	float: right;
	height: 15px;
	width: 17px;
	background-image: url(pack/re_btn.gif);
	background-color: #FFFFFF;
}
#Navigation_bar {
	height: 20px;
	width: 320px;
	text-align: center;
	display: block;
	margin-top: 15px;
	padding-top: 5px;
	padding-right: 3px;
	padding-left: 3px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
#bbtn_box_r {
	height: 20px;
	width: 20px;
	float: right;
	padding-right: 10px;
}
#bbtn_box_l {
	float: left;
	height: 20px;
	width: 20px;
	padding-right: 10px;
}

#Pagenum_stat {
	text-align: center;
	height: 20px;
	width: 200px;
	float: left;
	font-size: 9pt;
	font-weight: bold;
}
.style1 {
	color: #6BB838;
	font-family: Tahoma, Arial;
	font-size: 9pt;
	font-weight: bold;
}
-->
</style>
</head>
<body>
<div id="m_pc">
<!--begin main-->
<div dir="rtl" id="Q_main">
  <!--hel-->
  <div id="top_bar">
    <div id="le"></div>
    <div id="rig"></div>
    <div id="cen"></div>
  </div>
  <!--hel-->
  <div id="matn">
  <marquee class="style1" behavior="scroll" align="middle" direction="right" bgcolor="" width="100%" height="20" scrollamount="2"  scrolldelay="90" style="border="0">
    سخنی از بزرگان قرار داده شده است جمله ای که شما اینجا می نویسید     </marquee>
    <br />
    <br />
  </div>
  <!--body bord-->
  <div id="down_bar">
    <div id="le_btm"></div>
    <div id="rig_btm"></div>
    <div id="cen_btm"></div>
  </div>
</div>
<!--end main-->
<div id="reader"></div>
<!--end cmmens reader-->
</div>
</body>
</html>
پاینده باشید.
 
بالا