473,383 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

problem adding css to my page

Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks
Nov 18 '05 #1
9 4158
Don't worry about it. It is a VS.NET quirk.

"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks


Nov 18 '05 #2
is the link in within the <HEAD> section?

<HEAD>
<title>My spiffy title</title>
<META http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<LINK href="border.css" type="text/css" rel="stylesheet">
</HEAD>
"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks

Nov 18 '05 #3
Yes it is.

"Chris Leuty" wrote:
is the link in within the <HEAD> section?

<HEAD>
<title>My spiffy title</title>
<META http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<LINK href="border.css" type="text/css" rel="stylesheet">
</HEAD>
"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks


Nov 18 '05 #4
Would the css work?

"Ken Cox [Microsoft MVP]" wrote:
Don't worry about it. It is a VS.NET quirk.

"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks


Nov 18 '05 #5
Hi,
The problem is that I am unable to apply my class="whatever".

"Ken Cox [Microsoft MVP]" wrote:
Don't worry about it. It is a VS.NET quirk.

"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks


Nov 18 '05 #6
..Net will give you errors about your CSS / .ASPX sometimes. It will work
100%, but it still lists them as errors / warnings.

/RT
"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks

Nov 18 '05 #7
Yup. Try it?

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
Would the css work?

"Ken Cox [Microsoft MVP]" wrote:
Don't worry about it. It is a VS.NET quirk.


Nov 18 '05 #8
Hi,

Try adding:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

(or some other appropriate doctype) before your html, which should tell
vs.net exactly what elements are allowed where. Not sure why vs objects to
the link tag, but this has worked for me before.

cheers,
Michael

"delcom5" <de*****@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hi,
When I add the foll to my page

<LINK href="border.css" type="text/css" rel="stylesheet">

I get the message "The active schema does not support the element 'LINK' "

Any ideas? I am using flowlayout.

Thanks

Nov 18 '05 #9
It appears that these massive "The active schema doesn't support..."
messages are being caused by the code editor, not the code itself.
Try this: When you reopen a project and a page starts generating a
ton of these error messages, highlight one or more of the first lines,
copy them to the clipboard (Ctrl-C), delete them (Ctrl-X), then paste
them back in (Ctrl-V). Works every time for me!
Nov 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sabari | last post by:
Hi, I have an interesting problem in DataGrid.I have a footer in the Datagrid which has a textbox and a link button and im adding values to the grid.Everything seems to work fine until this...
6
by: Robin Bonin | last post by:
In my user contol I am creating a set of dropdownlists. Each list is created based on input from the other lists. The problem I am having is setting the selected index on the lists. If someone...
1
by: Simon Harvey | last post by:
Hi, I'm hoping someone can help me witht he following problem: I have a fairly simple page that has a sort form and a button for adding the forms details to an arraylist. When the button is...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
0
by: Luis Esteban Valencia | last post by:
Hello I wrote a program with code behind in C# to add row into table dynamically and the program worked very well in .Net Framework 1.1. When I run this program in .Net Framework 2.0 beta...
3
by: Ankit Aneja | last post by:
I have a strange situation and I have no idea how to solve this. Its a Recruitment Search Page,in the Admin Page, for every button click event the Admin Person has to create a checkbox on the users...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
9
by: Dave | last post by:
Hi guys, I have just set up a duplicate server running: apache 2.54, mysql 5.04 and php 5.04 This is the same setup as as the server we are using now, apart from the hardware inside. I have...
1
by: kchaitanya | last post by:
I have created a master page. When I am adding this master page to .aspx files which are in the root directory, it is working fine. When , I am adding master page to .aspx files which are in sub...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.