I’m going to try some of these suggestions…nosniff sounds promising.
- Microlancer Beta Tester
- Author had a Free File of the Month
- Has been a member for 3-4 years
- Item was Featured
- Author was Featured
- Austria
- Exclusive Author
- Referred between 200 and 499 users
fillerspace said
I’m going to try some of these suggestions…nosniff sounds promising.
posted a topic on stackoverflow but didn’t get a proper answer yet
would be nice if you can post any updates on on this here
My link didn’t get posted: http://stackoverflow.com/questions/5413107/headercontent-type-text-css-is-working-in-ff-cr-but-in-ie9-it-shows-up-as
These were the suggestions I was going to try
IE9 tries to download even regular css files, but this seems to ensure that the styles are applied to the page:
header( 'Content-Type: text/css' ); header( 'X-Content-Type-Options: nosniff' ); header( 'Expires: Thu, 31 Dec 2050 23:59:59 GMT' ); header( 'Pragma: cache' ); echo( $style ); exit;
- Microlancer Beta Tester
- Author had a Free File of the Month
- Has been a member for 3-4 years
- Item was Featured
- Author was Featured
- Austria
- Exclusive Author
- Referred between 200 and 499 users
Ok, I’ve found the problem:
WordPress wraps p tags around my shortcodes and since I’m using block elements in my form (and shortcode) I’ve and block element inside a block element – which isn’t allowed.
Removing the surrounded p’s solves the problem.
This took my about 10 hours of my life!
