I
InNeedOfAssistance
Hi,
I'm using a MS tabstrip and iframe. All works well when viewed in Internet
Explorer 7.0. My problem is when I test with Mozilla Firefox. On my
development machine the tabstrip looks perfect - resizes to fit the browser
window. On my production server, the text on the tabs is not reduced so the
tabs are not resized to fit the browser window. As far as I know, I've
copied everything from the development machine to the production server
including the webctrl_client directory. Could there be something that I've
missed that would cause the descrepancy in how the tabstrip is rendered from
the two different machines? The development machine has Windows XP
Professional and the production has Windows 2003 server. I am viewing both
pages from my PC so it is the same version of Firefox to access the two
different platforms.
Thanks for taking the time to review this.
Here's my code:
<%@ Register TagPrefix="aspnet"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<%@ Page language="c#" Codebehind="Pictures.aspx.cs" AutoEventWireup="false"
Inherits="Pictures.tabWrapper" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>sample code</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<META content="" name="DESCRIPTION">
<meta http-equiv="Keywords" content="">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/nav4-0"
name="vs_targetSchema">
</HEAD>
<body leftMargin="0" topMargin="0" scroll="no">
<form id="Form1" method="post" runat="server">
<aspnet:tabstrip id="mytabstrip1" runat="server"
onSelectedIndexChange="IndexChange" ForeColor="#CFF4CB"
BackColor="#CFF4CB" BorderColor="#CFF4CB" Width="100%" Height="28px"
Font-Size="8pt" AutoPostBack="True"
TabSelectedStyle="background-color:#A7D4A3;color:white;"
TabHoverStyle="background-color:#CFF4CB;color:white;"
TabDefaultStyle="background-color:#CFF4CB;font-family:verdana;
border-style:solid;border-width:1px;
border-color:white;color:gray;
text-align:center;"
MultiRow="True">
<aspnet:Tab Text="page one"></aspnet:Tab>
<aspnet:Tab Text="page two"></aspnet:Tab>
<aspnet:Tab Text="page three"></aspnet:Tab>
<aspnet:Tab Text="page four"></aspnet:Tab>
<aspnet:Tab Text="page five"></aspnet:Tab>
<aspnet:Tab Text="page six"></aspnet:Tab>
<aspnet:Tab Text="page seven"></aspnet:Tab>
<aspnet:Tab Text="page eight"></aspnet:Tab>
<aspnet:Tab Text="page nine"></aspnet:Tab>
<aspnet:Tab Text="page ten"></aspnet:Tab>
<aspnet:Tab Text="page eleven"></aspnet:Tab>
<aspnet:Tab Text="page twelve"></aspnet:Tab>
<aspnet:Tab Text="page thirteen"></aspnet:Tab>
<aspnet:Tab Text="page fourteen"></aspnet:Tab>
<aspnet:Tab Text="page fifteen"></aspnet:Tab>
<aspnet:Tab Text="page sixteen"></aspnet:Tab>
</aspnet:tabstrip>
<iframe id=applnname
style="WIDTH: 100%; HEIGHT: 93%; BORDERCOLOR: #CFF4CB" hspace=0 vspace=0
src="<%=sIFrameSrc%>" frameBorder=yes scrolling=yes
height="93%"></iframe></form>
</body>
</HTML>
I'm using a MS tabstrip and iframe. All works well when viewed in Internet
Explorer 7.0. My problem is when I test with Mozilla Firefox. On my
development machine the tabstrip looks perfect - resizes to fit the browser
window. On my production server, the text on the tabs is not reduced so the
tabs are not resized to fit the browser window. As far as I know, I've
copied everything from the development machine to the production server
including the webctrl_client directory. Could there be something that I've
missed that would cause the descrepancy in how the tabstrip is rendered from
the two different machines? The development machine has Windows XP
Professional and the production has Windows 2003 server. I am viewing both
pages from my PC so it is the same version of Firefox to access the two
different platforms.
Thanks for taking the time to review this.
Here's my code:
<%@ Register TagPrefix="aspnet"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<%@ Page language="c#" Codebehind="Pictures.aspx.cs" AutoEventWireup="false"
Inherits="Pictures.tabWrapper" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>sample code</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<META content="" name="DESCRIPTION">
<meta http-equiv="Keywords" content="">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/nav4-0"
name="vs_targetSchema">
</HEAD>
<body leftMargin="0" topMargin="0" scroll="no">
<form id="Form1" method="post" runat="server">
<aspnet:tabstrip id="mytabstrip1" runat="server"
onSelectedIndexChange="IndexChange" ForeColor="#CFF4CB"
BackColor="#CFF4CB" BorderColor="#CFF4CB" Width="100%" Height="28px"
Font-Size="8pt" AutoPostBack="True"
TabSelectedStyle="background-color:#A7D4A3;color:white;"
TabHoverStyle="background-color:#CFF4CB;color:white;"
TabDefaultStyle="background-color:#CFF4CB;font-family:verdana;
border-style:solid;border-width:1px;
border-color:white;color:gray;
text-align:center;"
MultiRow="True">
<aspnet:Tab Text="page one"></aspnet:Tab>
<aspnet:Tab Text="page two"></aspnet:Tab>
<aspnet:Tab Text="page three"></aspnet:Tab>
<aspnet:Tab Text="page four"></aspnet:Tab>
<aspnet:Tab Text="page five"></aspnet:Tab>
<aspnet:Tab Text="page six"></aspnet:Tab>
<aspnet:Tab Text="page seven"></aspnet:Tab>
<aspnet:Tab Text="page eight"></aspnet:Tab>
<aspnet:Tab Text="page nine"></aspnet:Tab>
<aspnet:Tab Text="page ten"></aspnet:Tab>
<aspnet:Tab Text="page eleven"></aspnet:Tab>
<aspnet:Tab Text="page twelve"></aspnet:Tab>
<aspnet:Tab Text="page thirteen"></aspnet:Tab>
<aspnet:Tab Text="page fourteen"></aspnet:Tab>
<aspnet:Tab Text="page fifteen"></aspnet:Tab>
<aspnet:Tab Text="page sixteen"></aspnet:Tab>
</aspnet:tabstrip>
<iframe id=applnname
style="WIDTH: 100%; HEIGHT: 93%; BORDERCOLOR: #CFF4CB" hspace=0 vspace=0
src="<%=sIFrameSrc%>" frameBorder=yes scrolling=yes
height="93%"></iframe></form>
</body>
</HTML>