Elxis CMS Forum

Support => Technical support => Topic started by: mrloudcry on April 15, 2011, 20:32:17

Title: </mce:style> causing my site to not work in Internet Explorer
Post by: mrloudcry on April 15, 2011, 20:32:17
Code as viewed in Chrome:

<!--[if gte mso 10]><br />
<mce:style>< !   /* Style Definitions */  table.MsoNormalTable    {mso-style-name:"Table Normal";    mso-tstyle-rowband-size:0;    mso-tstyle-colband-size:0;    mso-style-noshow:yes;    mso-style-priority:99;    mso-style-parent:"";    mso-padding-alt:0in 5.4pt 0in 5.4pt;    mso-para-margin-top:0in;    mso-para-margin-right:0in;    mso-para-margin-bottom:10.0pt;    mso-para-margin-left:0in;    line-height:115%;    mso-pagination:widow-orphan;    font-size:11.0pt;    font-family:"Calibri","sans-serif";    mso-ascii-font-family:Calibri;    mso-ascii-theme-font:minor-latin;    mso-hansi-font-family:Calibri;    mso-hansi-theme-font:minor-latin;    mso-bidi-font-family:"Times New Roman";    mso-bidi-theme-font:minor-bidi;} -->

Code as viewed in IE:

<mce:style>< !   /* Style Definitions */  table.MsoNormalTable    {mso-style-name:"Table Normal";    mso-tstyle-rowband-size:0;    mso-tstyle-colband-size:0;    mso-style-noshow:yes;    mso-style-priority:99;    mso-style-parent:"";    mso-padding-alt:0in 5.4pt 0in 5.4pt;    mso-para-margin-top:0in;    mso-para-margin-right:0in;    mso-para-margin-bottom:10.0pt;    mso-para-margin-left:0in;    line-height:115%;    mso-pagination:widow-orphan;    font-size:11.0pt;    font-family:"Calibri","sans-serif";    mso-ascii-font-family:Calibri;    mso-ascii-theme-font:minor-latin;    mso-hansi-font-family:Calibri;    mso-hansi-theme-font:minor-latin;    mso-bidi-font-family:"Times New Roman";    mso-bidi-theme-font:minor-bidi;} --></mce:style></p>


This difference that I see right now is the last tag in the IE </mce:style></p> doesn't show up in one generated in Chrome. I am not sure what this script is for yet, I am thinking it may be the video player script, But this is the area where your rendering in IE breaks down.  IE may not like the </mce:style> because the closing tag is outside the commented script

The video player I am using is made by Kaltura, called All-in-One-Video,

Does anyone have any comments about how I can fix this problem?
Title: Re: </mce:style> causing my site to not work in Internet Explorer
Post by: Ivan Trebješanin on April 15, 2011, 22:04:38
It looks like you pasted something from Word. It is not good to paste directly from Word to Elxis.
You must remove M$ Office code, it's junk. Fast way to do so is to copy/paste text from Word into PSPad, Notepad++, or some similar text editor, and then into Elxis.