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

Why is Build Style menu option disabled?

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

Nov 19 '05 #1
2 1740
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>

Nov 19 '05 #2
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

"re****@community.nospam" wrote:
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>

Nov 19 '05 #3

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

Similar topics

2
by: dfg | last post by:
Hi Everyone. I have a menu. We'll call it File. It has a number of options under it, such as open, close, exit, etc. One of my options is disabled and grayed out. That's good. The thing is,...
3
by: John Pote | last post by:
I have a menu bar in a top level window as follows menuBar = Menu(rootWin) menuBar.add_command( label='Quit', command=rootWin.quit) configMenu = Menu(menuBar, tearoff=0)...
5
by: Bunny | last post by:
Is there a way to automatically load a page, after the user selects a menu item from a form?
1
by: Martin | last post by:
Is disabled to be set in the style of a tag just like visible? I am trying to set the whole content of a td tag to disabled like this, style='disabled:true' and it does not seem to work. Is this...
6
by: rongchaua | last post by:
Hi all, I want to change the style of a button. But I don't know how to do it. For example, I have already a button OK on form. I want to add these styles to this button (WS_CHILD || WS_VISIBLE ||...
1
by: carrajo | last post by:
Hi, How can I disable an option in a drop-down menu? Specifically, I want to disable the option "Bouncy Castles". I want to display it, I just want the user to be able to select it. As well, how...
3
by: Jason Carlton | last post by:
Is there a way to change the font-family and font-size for each individual option in a select menu? Something along the lines of: <select size="1"> <option style="font-family: Arial; font-size:...
5
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
1
by: WaluigiCubed | last post by:
I have a question about something in Visual FoxPro 9.0. I'm modifying some of the program files for the Sage PRO ERP program for one of our customers. I'm designing a Custom Label that will be...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.