Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Problem - with WebForm Controls and StyleSheet ... !!!

Reply
Thread Tools

Problem - with WebForm Controls and StyleSheet ... !!!

 
 
Nima Jahanshahi
Guest
Posts: n/a
 
      11-12-2003
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?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox and XSLT (local stylesheet works, server-based stylesheet fails) David Blickstein XML 14 10-15-2005 11:27 PM
xml:stylesheet use in document with multiple stylesheet options David Blickstein XML 3 08-02-2005 03:10 PM
have a stylesheet generate another stylesheet based on XML? Steven An XML 1 11-23-2004 01:07 PM
Stylesheet referanse i stylesheet =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?= XML 3 07-04-2004 03:16 PM
Including WebForm Image Control in a Webform Table Control titof ASP .Net 0 07-24-2003 01:01 PM



Advertisments