This may be a trivial question to answer, but is there an equivalent to input { border: initial; } that works in IE8 & 9?
I would be fine with nested boxes with explicit borders just to get the default IE look if anyone knows what the colours are (since they can be overridden with initial in other browsers to clear them).
Things I’ve tried already: 2px inset #XXX with various values for X; 2px inset threedhighlight; -ms-initial
No. And
initialdoesn’t mean “browser default”. It means the defined initial value for the property, as per CSS specs, irrespective of browser defaults. Forborder, it isthin nonefollowed by the value of thecolorproperty. (Theinitialvalue is supported by Chrome, but not e.g. by Firefox or IE 9.)You can try to explicitly set a property to a value that you expect to be a browser default, though this often varies by browser version. The page http://www.iecss.com is described as showing IE default style sheet features. According to it, the following is applied in IE 6:
For IE 7 thru IE 9, the page has the same declarations, except for
border-style, which is missing. This is impossible since the initial value isnone. Maybe the intent is to say the border style is not describable in CSS. But to me, it really looks inset.To keep some properties of some elements to their browser defaults, just don’t set them in CSS. Use selectors that exclude them when needed. This may require added markup at times.