473,385 Members | 1,470 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,385 software developers and data experts.

CSS stylesheet

I want to use css stylesheet in my asp.net web application but when i write
<LINK href="style.css" type="text/css" rel="stylesheet"> in the header,
visual studio tells me that the active schema does not support the element
LINK. And the css isn't use when it's built. The style is not reflected. How
do I include a css in my webpage?
Nov 19 '05 #1
5 1418
Line

<meta name=vs_targetSchema
content="http://schemas.microsoft.com/intellisense/ie5">

should take care of the active schema problem.

The styles should be in effect regardless of the schema error. Is the css
file in the same directory?

Eliyahu

"wrytat" <wr****@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
I want to use css stylesheet in my asp.net web application but when i write <LINK href="style.css" type="text/css" rel="stylesheet"> in the header,
visual studio tells me that the active schema does not support the element
LINK. And the css isn't use when it's built. The style is not reflected. How do I include a css in my webpage?

Nov 19 '05 #2
Hey

VS is crap foor designing web pages - use dreamweaver.
Dreamweaver is crap for developing codebehinds - use VS

:-)

tce
Nov 19 '05 #3
Hi:

I have the same entry in the html code

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

but I add the css file in the project... try that.
--
Thales - Services Division
Bulnes 2756 P.5 - C1425DKX
Ciudad Autónoma de Buenos Aires
Tel.: (+5411) 4806-9146
Fax.: (+5411) 4807-0563
"wrytat" wrote:
I want to use css stylesheet in my asp.net web application but when i write
<LINK href="style.css" type="text/css" rel="stylesheet"> in the header,
visual studio tells me that the active schema does not support the element
LINK. And the css isn't use when it's built. The style is not reflected. How
do I include a css in my webpage?

Nov 19 '05 #4
oz
Drag and drop the style sheet on the form....vs will do the typing....

"wrytat" wrote:
I want to use css stylesheet in my asp.net web application but when i write
<LINK href="style.css" type="text/css" rel="stylesheet"> in the header,
visual studio tells me that the active schema does not support the element
LINK. And the css isn't use when it's built. The style is not reflected. How
do I include a css in my webpage?

Nov 19 '05 #5
I just discovered (if I'm not wrong) that it's just the repeater's format on
that page doesn't follow the style of my stylesheet. How to format a repeater
with a css?

"oz" wrote:
Drag and drop the style sheet on the form....vs will do the typing....

"wrytat" wrote:
I want to use css stylesheet in my asp.net web application but when i write
<LINK href="style.css" type="text/css" rel="stylesheet"> in the header,
visual studio tells me that the active schema does not support the element
LINK. And the css isn't use when it's built. The style is not reflected. How
do I include a css in my webpage?

Nov 19 '05 #6

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

Similar topics

3
by: Sarah Haskins | last post by:
I have a few questions about this problem I'm having involving XML, DTD, and XSL. I'm working with this DTD which defines a stylesheet, as such... <?xml version="1.0" encoding="UTF-8"?>...
1
by: Steven An | last post by:
I'm gonna describe the situation I'm dealing with..but if you're not interested, just skip to the last line where I bluntly ask my question :) Here's my scenario: I've got a huge website that...
4
by: Catherine Lynn Smith | last post by:
OK, I am learning my way around the new DOM, but I am still at a loss on finding a few things. I have an HTML document that links to a stylesheet. /* START STYLESHEET EXAMPLE */ /*...
5
by: David Trimboli | last post by:
I'm writing HTML 4.01 and CSS 2 pages that include a CSS-driven pop-up menu. What I'm trying to do is create a screen style that uses the menu, links, etc. normally, and a print style that removes...
7
by: pintihar | last post by:
Hi, As a follow on from an earlier post I have another question about xslt. Is it possible to create the stylsheet programatically? Is this sensible? In the first phase I needed to map element...
0
by: barney.b | last post by:
Hi, I'm trying to pre-process an XSL stylesheet with another stylesheet, before using the result to transform an XML document. i.e.: stylesheet(xsl) --> preprocessor(xsl) --> temp(xsl)...
0
by: hq4000 | last post by:
Given AStyleSheet.xsl : <AStyleSheet> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.mytest.mytest2.mytest3.com" version="1.0"> <xsl:output method="xml"...
3
by: gdelfino | last post by:
I have an XML file which I transform into XHTML using stylesheetA.xsl. I also have stylesheetB.xsl which transforms my XML file into an Excel XML document. As both Excel and most new browsers...
15
by: Scott W Gifford | last post by:
Hello, We've got a Web-based application written in Perl that is designed to integrate as a frame into many different Web sites. We currently have several stylesheets available to allow the...
1
by: Dave Rado | last post by:
Hi A while ago I discovered a way of creating css pseudo-frames, that offer users the important benefits of real frames (i.e. the navigation remains visible when you scroll down the page), but...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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.