N
Nima Jahanshahi
Hi,
Here's the problem:
When I add some Web Form control from toolbar to the WebForm1.aspx
which has a StyleSheet assign to it with <Link> tag that control displays
incorrectly in Microsoft Visual Studio .NET 2003 and that's its size it's
much bigger than set in its attributes!
If I remove the StyleSheet from the file (remove <LINK> tag) the control
will display correctly without any problem!
What should I do with this???
Here is the WebForm1.aspx contents:
===========================================================
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false"
Inherits="WebApplication1.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<TITLE>WebForm1</TITLE>
<META name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<META name="CODE_LANGUAGE" content="C#">
<META name="vs_defaultClientScript" content="JavaScript">
<META name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="style.css" type="text/css" rel="stylesheet"> <!-- This is the
problem!!! -->
</HEAD>
<BODY ms_positioning="GridLayout">
<FORM id="Form1" method="post" runat="server">
<ASP:BUTTON id="Button1" style="Z-INDEX: 101; LEFT: 248px; POSITION:
absolute; TOP: 168px" runat="server"
text="Button"></ASP:BUTTON>
</FORM>
</BODY>
</HTML>
==================================================================
ThanX,
Nima.
P.S. Am I in the right section?
Here's the problem:
When I add some Web Form control from toolbar to the WebForm1.aspx
which has a StyleSheet assign to it with <Link> tag that control displays
incorrectly in Microsoft Visual Studio .NET 2003 and that's its size it's
much bigger than set in its attributes!
If I remove the StyleSheet from the file (remove <LINK> tag) the control
will display correctly without any problem!
What should I do with this???
Here is the WebForm1.aspx contents:
===========================================================
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false"
Inherits="WebApplication1.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<TITLE>WebForm1</TITLE>
<META name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<META name="CODE_LANGUAGE" content="C#">
<META name="vs_defaultClientScript" content="JavaScript">
<META name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="style.css" type="text/css" rel="stylesheet"> <!-- This is the
problem!!! -->
</HEAD>
<BODY ms_positioning="GridLayout">
<FORM id="Form1" method="post" runat="server">
<ASP:BUTTON id="Button1" style="Z-INDEX: 101; LEFT: 248px; POSITION:
absolute; TOP: 168px" runat="server"
text="Button"></ASP:BUTTON>
</FORM>
</BODY>
</HTML>
==================================================================
ThanX,
Nima.
P.S. Am I in the right section?