html - Css attribute selector for inputs not working in IE8 -
i have following css code working in firefox/chrome not in ie8
input[type='text'] { float: right; width: 170px; }
if remove attribute selector, works in ie applies inputs, dont want.
input { float: right; width: 170px; }
i thought attribute selectors supported in ie8, don't know problem is. not matter of code inside input, moment use attribute selector, css rule not work whatever code inside.
edit: css rules input[type="button"] , input[type="submit"] work, input[type="text"] not work. i'm confused right now.
ie7 , ie8 support attribute selectors if !doctype specified. attribute selection not supported in ie6 , lower.
Comments
Post a Comment