div[id^=”attachment_”] {display:none !important;}

http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/