Is there a way to ignore browser specific css? Something like cseignore.
I have two IE hacks, one shown below.
The "f\loat" property is not a recognized style property. Should this property be "float"?
f\loat: left;
Ignore browser specific CSS
-
- Rank 0 - Newcomer
- Posts: 7
- Joined: Tue Aug 30, 2011 5:05 pm
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Ignore browser specific CSS
No, but that's a good idea! I will make a note of it for a possible future addition.CA Traveler wrote:Is there a way to ignore browser specific css? Something like cseignore.
The easiest way to ignore this is to right-click on the message (when displayed in CSE HTML Validator's editor and disable it using Message Options->Disable using Exact Text Match.CA Traveler wrote:I have two IE hacks, one shown below.
The "f\loat" property is not a recognized style property. Should this property be "float"?
f\loat: left;
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Ignore browser specific CSS
I've added special CSS comments that can be used to ignore sections of CSS documents, but this new feature could use more testing. If you'd like to try a BETA build to test this, then please email me at support at htmlvalidator dot com.
From the documentation:
To ignore sections of CSS documents, surround the section in /*cseignore*/ ... /*/cseignore*/ comments. Note that the comments must be exact and are case sensitive. (New v10.9923)
From the documentation:
To ignore sections of CSS documents, surround the section in /*cseignore*/ ... /*/cseignore*/ comments. Note that the comments must be exact and are case sensitive. (New v10.9923)
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial