
Re: Selectively disabling PIE (e.g. for editing in TinyMCE e
Thanks for the unbelievably - scarily! - fast reply !!!!
I'm using Umbraco as the CMS, and I select tinymce.css from within it. I've had a look at the source and it generates the following:
Code:
<!DOCTYPE>
<html>
<head xmlns="http://www.w3.org/1999/xhtml">
<base href="http://mysite/" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="http://mysite/css/tinyMCE.css" />
</head>
<body id="tinymce" class="mceContentBody ">
</body>
</html>
So I think the answer to your question is no, it does seem to be a raw HTML link to tinymce.css, but I can't guarantee there isn't any funky script stuff going on behind the scenes as I'm pretty certain there will be!
Incidentally, I tried adding the behavior: none to the main CSS file, so it looks like this::
Code:
behavior: url(/scripts/PIE.htc);
behavior: none !important;
On the public site, Pie was disabled as my curvey corners disappeared, but within TinyMCE I still got the blank cell. I tried removing pie.htc in my original script, and this then fixed it. (But not quite what I'm after)
It feels like it might be something to do with all the script-heavy stuff going on with TinyMCE. Maybe I will just have to add in extra selectors so that the CSS3 stuff only works at all outside TinyMCE.
Thanks, again, for your help!