PDA

View Full Version : سوال: جابجا شدن div در فایرفاکس



rash44
سه شنبه 10 فروردین 1389, 12:07 عصر
سلام
توی صفحه اصلی سایت 3 تا div گذاشتم و متغیر رو اونجا نمایش می دم
توی IE و Opera همه چی درسته

اما توی فایر فاکس 1 کی از div ها 1 خورده پایین تر نمایش داده میشه (div سوم که متغیر text رو نمایش میده)
برای رفع این مشکل باید چی کار کنم ؟



<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body topmargin="5">
<div style="position: absolute; width: 257px; height: 27px; z-index: 1; left: 10px; top: 47px" id="layer1">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td>
<p align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo $date; ?></font></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" width="99%" cellspacing="0" cellpadding="0" id="table2">
<tr>
<td>
<p align="center">
<img border="0" src="Head.jpg" width="983" height="145"></td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td width="20%" valign="top" bgcolor="#F3F2F2">
&nbsp;</td>
<td width="60%" valign="top">
<div style="position: absolute; width: 43px; height: 30px; z-index: 2; left: 12px; top: 9px" id="layer2">
<p align="center">
<a href="ymsgr:sendim?supporting">
<img border="0" src="support.gif" width="28" height="30"></a></div>
<div style="position: absolute; width: 817px; height: 21px; z-index: 3; left: 86px; top: 131px" id="layer3">
<p align="right" dir="rtl">
<font face="Tahoma" style="font-size: 8pt; font-weight:700" color="#D70E0C">
<marquee direction="right" onmouseover="stop();" onmouseout="start();" scrollamount="2" scrolldelay="4"><?php echo $text; ?></marquee></font></div>

</td>
<td width="20%" valign="top" bgcolor="#F3F2F2">
&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="33" background="Footer_menu.png">
&nbsp;</td>
</tr>
</table>

rash44
سه شنبه 10 فروردین 1389, 16:30 عصر
لطفا 1 کی راهنمائی کنه

rash44
چهارشنبه 11 فروردین 1389, 09:34 صبح
کسی پیدا نمیشه مشکل من رو حل کنه ؟

zr_1364
چهارشنبه 11 فروردین 1389, 11:05 صبح
همه کد رو توی تگ div بگذارید یعنی صفحه درون یک تگ قرار بگیره