M
morad.87
This code works properly in IE ,but fire fox doesn't show the image!!
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!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">
<title>Master Page</title>
<style type="text/css">
</style>
</head>
<body style="margin:0;">
<form id="form1" runat="server">
<div>
<center>
<table style="width:100%; background-color:Black; height:75px;"
cellpadding="0px;" cellspacing="0px">
<tr>
<td >
<asp:Image ID="image1" runat="server" ImageUrl="~/Images/
Banner.jpg" AlternateText="banner"/>
</td>
</tr>
</table>
</center>
<asp:contentplaceholder id="ContentPlaceHolder1"
runat="server">
</asp:contentplaceholder>
</div>
</form>
</body>
</html>
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!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">
<title>Master Page</title>
<style type="text/css">
</style>
</head>
<body style="margin:0;">
<form id="form1" runat="server">
<div>
<center>
<table style="width:100%; background-color:Black; height:75px;"
cellpadding="0px;" cellspacing="0px">
<tr>
<td >
<asp:Image ID="image1" runat="server" ImageUrl="~/Images/
Banner.jpg" AlternateText="banner"/>
</td>
</tr>
</table>
</center>
<asp:contentplaceholder id="ContentPlaceHolder1"
runat="server">
</asp:contentplaceholder>
</div>
</form>
</body>
</html>