PDA

View Full Version : مشكل در نمايش سايت به وسيله فايرفاكس



amir4015
جمعه 10 شهریور 1391, 01:02 صبح
با سلام
من يك سايت با asp طراحي كردم
زماني كه با اينترنت اكسپلور بازش مي كنم سايت كامل باز ميشه و تمام عكس ها و جدول ها سر جاي خودشون است اما زماني كه با فاير فاكس بازش مي كنم بهم مي ريزند
دوستان اگه مي شه راهنمايي كنيد

fmka2f
جمعه 10 شهریور 1391, 07:13 صبح
با سلام
من يك سايت با asp طراحي كردم
زماني كه با اينترنت اكسپلور بازش مي كنم سايت كامل باز ميشه و تمام عكس ها و جدول ها سر جاي خودشون است اما زماني كه با فاير فاكس بازش مي كنم بهم مي ريزند
دوستان اگه مي شه راهنمايي كنيد
دوست عزیز این مشکل ربطی به asp نداره و احتمالا شما در کد html دچار مشکل هستید.اگه برای ایجاد قالب سایتتون از جدول استفاده می کنید باید عرض ها رو دقیق بدید بهش تا قالب بهم نریزه

amir4015
شنبه 11 شهریور 1391, 21:45 عصر
ممنون که جواب
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="shme._Default" %>
<!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 runat="server">
<style type="text/css">
body {
background-color: #999;
}
.style1
{
height: 1196px;
}
.style3
{
height: 833px;
}

.style8
{
width: 184px;
}

.style2
{
height: 101px;
}
.style6
{
height: 99px;
}
.style5
{
height: 109px;
}
.style10
{
height: 103px;
}
-->

</style></head>
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

<div align="center">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Timer ID="Timer1" runat="server" Interval="10000" ontick="Timer1_Tick">
</asp:Timer>

<tr>
<asp:Panel ID="Panel4" runat="server">
<br />
<br />
<br />
<br />
<br />
<br />
<img alt="loding" src="image/loding.gif" style="width: 218px; height: 27px" /><br />
<br />
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium"
Text="صفحه در حال بار گذاري مي باشد "></asp:Label>
<br />
<br />
<asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="Large"
ForeColor="#0033CC" Text="لطفا منتظر بمانيد"></asp:Label>
</asp:Panel>
</tr>


<asp:Panel ID="Panel1" runat="server" Height="1313px" Visible="False"
Width="1047px" Wrap="False">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" style="height: 1311px">
<tr>
<td cellpadding="0" cellspacing="0" height="50" width="10">
&nbsp;</td>
<td background="image/Untitled-8.png" cellpadding="0" cellspacing="0"
width="50">
&nbsp;</td>
<td background="image/Untitled-7.png" cellpadding="0" cellspacing="0"
width="909">
&nbsp;</td>
<td background="image/Untitled-9.png" cellpadding="0" cellspacing="0"
width="50">
&nbsp;</td>
<td cellpadding="0" cellspacing="0" width="10">
&nbsp;</td>
</tr>
<tr>
<td cellpadding="0" cellspacing="0" class="style1">
</td>
<td background="image/Untitled-5.png" cellpadding="0" cellspacing="0"
class="style1">
</td>
<td cellpadding="0" cellspacing="0" class="style1" valign="top">
<table border="0" cellspacing="0" style="height: 1189px" width="909">
<tr>
<td background="image/Untitled-01.jpg" cellpadding="0" cellspacing="0"
class="style3" valign="top" width="909">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<asp:Panel ID="Panel2" runat="server" Height="56px">
<br />
<table border="0" cellspacing="0" height="39" style="width: 906px">
<tr>
<td class="style8">
&nbsp;</td>
<td width="509">
<p style="width: 672px">
<marquee direction="right" scrollamount="1" scrolldelay="20" style="font-family: Tahoma;
font-size: 10pt;
color: red; width: 706px; margin-left: 11px;"> بسم الله الرحمن الرحيم
</marquee></p>
</td>
</tr>
</table>
</asp:Panel>
<br />
<table aling="center" border="0" cellspacing="0" style="height: 507px; width: 474px">
<tr>
<td align="center" class="style2" valign="top">
<img height="94" src="image/Untitled-12.png" width="79" /></td>
<td align="center" class="style2" valign="top">
<img height="94" src="image/Untitled-13.png" width="79" /></td>
<td align="center" class="style2" valign="top">
<img height="94" src="image/Untitled-14.png" width="79" /></td>
</tr>
<tr>
<td align="center" valign="top" class="style10">
<img height="94" src="image/Untitled-15.png" width="79" /></td>
<td align="center" valign="top" class="style10">
<img height="94" src="image/Untitled-16.png" width="79" /></td>
<td align="center" valign="top" class="style10">
<img height="91" src="image/Untitled-17.png" width="79" /></td>
</tr>
<tr>
<td align="center" class="style6" valign="top"><img height="90"
src="image/Untitled-18.png" width="79" style="height: 91px" />
</td>
<td align="center" class="style6" valign="top"><img height="90"
src="image/Untitled-19.png" width="79" />
</td>
<td align="center" class="style6" valign="top"><img height="90"
src="image/Untitled-20.png" width="79" />
</td>
</tr>
<tr>
<td align="center" class="style6" valign="top"><img height="90"
src="image/Untitled-21.png" width="79" />
</td>
<td align="center" class="style6" valign="top"><img height="90"
src="image/Untitled-22.png" width="79" />
</td>
<td align="center" class="style6" valign="top"><img height="94" src="image/Untitled-26.png" width="79" />
</td>
</tr>
<tr>
<td align="center" class="style5" valign="top"><img height="94" src="image/Untitled-23.png" width="79" />
</td>
<td align="center" class="style5" valign="top"><img height="92"
src="image/Untitled-24.png" width="79" />
</td>
<td align="center" class="style5" valign="top"><img height="92"
src="image/Untitled-25.png" width="79" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="image/Untitled-02.jpg" cellpadding="0" cellspacing="0"
height="374" valign="top">
&nbsp;</td>
</tr>
</table>
</td>
<td background="image/Untitled-5.png" cellpadding="0" cellspacing="0"
class="style1">
</td>
<td cellpadding="0" cellspacing="0" class="style1">
</td>
</tr>
<tr>
<td cellpadding="0" cellspacing="0" height="50">
&nbsp;</td>
<td background="image/Untitled-11.png" cellpadding="0" cellspacing="0">
&nbsp;</td>
<td background="image/Untitled-7.png" cellpadding="0" cellspacing="0"
height="50">
&nbsp;</td>
<td background="image/Untitled-10.png" cellpadding="0" cellspacing="0">
&nbsp;</td>
<td cellpadding="0" cellspacing="0">
&nbsp;</td>
</tr>
</table>
</div>
</asp:Panel>

</ContentTemplate>
</asp:UpdatePanel>
</div>

</form>
</body>
</html>