I would like to select an element on its style element. For example, my current WYSIWYG editor puts style attributes to align images, like so:
<img src="my_image.png" style="align: left;" />
Selectors I’ve tried:
img[style*='align: left']
img[style*='align:left']
img[style*='eft']
All these work fine in all browsers except IE7.
I think it’s not possible: according to sitepoint
so basically the only way to target that element on IE<7 is probably using javascript