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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -