Why is Build Style menu option disabled?

G

Guest

I don't know why when I right-click on a label element on my html document
the 'Build Style' menu option is disabled.
The target schema is Internet Explorer 5.0, I was even able to build
document styles on Format-Document Styles, but still I can't build a style
for an individual element.
The MSDN documentation is saying that in order to enable CSS for the project
I need to set the target schema for HTML 4.0, but my option is 'Explorer 5.0'
and , I guess, it should support it, so where is the problem?
Thanks
Cezar Mart
 
R

recoil

You are comparing two different things
HTML 4.0 refers to the HTML spec that you are using
Explorer 5.50 refers to client side validation/schema that the
validator and certain other parts use.
If you use the following you should have no problems on VS.NET 2003

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>ProfileManagement</title>
<meta Http-Equiv="Content-Type" Content = "text/html;
charset=utf-8" />
<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 type = "text/css" rel="stylesheet" href =
"SupportDesk.css" />
</head>
<body>
</body>
</html>
 
G

Guest

Thank you for the answer. I did it but the 'Build Style' still doesn't show.
In fact, I was already using DOCSTYLE as you suggested. The problem must be
somewhere else.
Thanks anyway
Cezar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top