> But I want to have a stylesheet that contains my own custom values > which I read and then assign to my page elements.FYI If I create a > CSS class with custom properties and assign to an existing element > then while I can get valid CSS properties I cannot get the custom > value (except with IE)
The opposite of valid CSS properties are invalid CSS properties. Browsers don't have to do anything in particular with invalid CSS or HTML. :-) Plus, it won't validate. You could use the jQuery Metadata plugin and store your properties in a script block, for example: <script type="application/json"> { "a1Type": "Date", "a1ValidMesg":"Please enter a valid date", "Validate":"@@Internal code to be send to server via Ajax@@" } </script> http://docs.jquery.com/Plugins/Metadata/metadata#options