473,486 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Stop CSS Validation

Not 100% ASP.NET, more like a Visual Studio question. I have
attributes like "opacity" in my .css, and Visual Studio 2005 is
flagging it as an error, when I definitely need them. How can I turn
that validation off? Is it MSBuild that is actually generating this,
or is it VS.NET 2005?

Thanks.

Dec 15 '06 #1
3 1680
Hi,

xeroxero wrote:
Not 100% ASP.NET, more like a Visual Studio question. I have
attributes like "opacity" in my .css, and Visual Studio 2005 is
flagging it as an error, when I definitely need them. How can I turn
that validation off? Is it MSBuild that is actually generating this,
or is it VS.NET 2005?

Thanks.
In the menu "Tools / Options / Text editor / HTML / Validation", you can
set the validation's Target as well as prevent errors from being
displayed. "opacity" is not a standard CSS attribute, which is why the
validator protests. Unfortunately, I don't believe that there is a
standard way of setting opacity in CSS nowadays (but I might be wrong).

I would think twice before turning validation off. It's a precious help
also just for the learning effect. Besides, these errors are indicative
only and do not prevent compilation or have an effect on the application
at runtime.

The validation is made by... a validator :-) which VS2005 calls.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Dec 15 '06 #2
Thanks for the pointer. Unfortunately, Visual Studio is still going
nuts over my CSS. I think I just want it to ignore my "errors", how
can I make it do that?

Jan 25 '07 #3
"xeroxero" <xe******@newsgroups.nospam wrote in message
news:8m********************************@4ax.com...
I think I just want it to ignore my "errors"
Think twice before you do that... The errors are telling you that your
markup does not conform to accepted standards - they are not there just to
annoy you...
Jan 25 '07 #4

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

Similar topics

1
16250
by: Ken Williams | last post by:
I made a web app, some form data is posted to a report.html that makes changes to a database. if the user does this and views the report, and then refreshes the web page the same information and...
9
1449
by: effendi | last post by:
I wrote a very simple validation fucntion to check if all fields are entered properly in a dialog box before returning this the values to the parent form. The validation works finr however, I am...
2
3977
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
9
15380
by: Matt | last post by:
In many places in my application, I have a DataGridView which users can either enter data into or use as a method of navigation in a master/detail form view. I need a method of stopping the user...
1
1206
by: baroque Chou | last post by:
I add validation control to my page, but it seems it dosn't work using input. is it true?
1
1814
by: Rajani | last post by:
Hi, I have designed a form which process database Insert, edit and Delete(datagrid). I input userid,password and privilege in textboxes which has validation controls to verify data keyed in....
2
1794
by: Rajani | last post by:
Hi, I have designed a form which process database Insert, edit and Delete(datagrid). I input userid,password and privilege in textboxes which has validation controls to verify data keyed in....
3
2160
by: mark4asp | last post by:
How can I stop my Calendar control from firing the form validation events? I have a form containing several controls which have several validation controls each. One control is a TextBox...
4
3677
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, We have many forms on our site that users can fill out and ask questions, request information etc. but somehow, we receive a lot of junk mails (more than two hundreds) within two weeks...
0
6964
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
7126
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
7175
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...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.