You need to sign in to do that
Don't have an account?
URGENT - HTML formatting error appearing on login screen
I have an HTML formatting error appearing on a Sites login screen. The problem appears to be due to the Visualforce compiler setting a warning because of badly formatted HTML as described in this thread: http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=17009. However, the poor HTML formatting is deliberate in order to be able to do conditional inclusion of styles sheets, as described in this thread: http://community.salesforce.com/sforce/board/message?message.uid=146753.
Is there a way either to do conditional inclusion of style sheets without bad HTML formatting or else to ensure that the <apex:messages> tag doesn't display HTML warnings?
Probably the easiest thing to do is to actually move the <!--[if IE...] --> syntax *into* your stylesheet, save the stylesheet as a static resource, and import it. Static resources don't get compiled, so you shouldn't get compiler warnings about iffy XML.
Hope this helps,
Avrom