function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

IE 8 Compatibility Error

Hi all,


           My visualforce page has a comment code for IE 8. that is fo follows


    <!--[if lt IE 8]>
    <link rel="stylesheet" href="{!URLFOR($Resource.Styles,'/css/portal.css')}"/>
    &lt;!--[if IE]>
    <script src=""></script>


It works well but it shows <!--[if lt IE 8]> <![endif]--> <!--[if IE]> in the top of my page


Previously i coded like this


<!--[if lt IE 8]>
    <link rel="stylesheet" href="/css/ie.css" />
    <!--[if IE]>
    <script src=""></script>
    <![endif] -->  


But it is not working i.e my IE css is not executed in this code so Please provide me a solution