G
Guest
Has anyone found a way to ensure that the file upload control renders the
same in IE 7 and Firefox 2. In particular the width attribute.
This renders ok in IE7 but not in Firefox 2.0 (width set to 600px):
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb"
Inherits="AJAXEnabledWebApplication1._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">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Width="600px" /></div>
</form>
</body>
</html>
I've tried using CSS to set the width of the control but the same result!
I've googled but the only thing i can find are references to asp 1.1 and
"browserCaps" which is of no use.
I'm using VS2005 VB.net & ASP.net 2.0
Any ideas?
same in IE 7 and Firefox 2. In particular the width attribute.
This renders ok in IE7 but not in Firefox 2.0 (width set to 600px):
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb"
Inherits="AJAXEnabledWebApplication1._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">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Width="600px" /></div>
</form>
</body>
</html>
I've tried using CSS to set the width of the control but the same result!
I've googled but the only thing i can find are references to asp 1.1 and
"browserCaps" which is of no use.
I'm using VS2005 VB.net & ASP.net 2.0
Any ideas?