[SalesForce] Error: Element type “div” must be followed by either attribute specifications, “>” or “/>”

Error: Element type "div" must be followed by either attribute
specifications, ">" or "/>".

<apex:page standardController="ADSS_Platform_Account__c" showHeader="false" standardStylesheets="false">   
    <div style="font-family: sans-serif; font-size: 12px;color: #ffffff;" "height: 100%" class="bodyDiv"  onclick="resizeFrame();">  
        <c:IBHierarchyTree currentId="{!ADSS_Platform_Account__c.id}"/>   
    </div>  
</apex:page>

I removed left angular brackets because i was not able to post my code.

Best Answer

height: 100% falls under style-size attribute string , thus

" font-family: sans-serif; font-size: 12px;color: #ffffff; " and " height: 100% " should be written as same string as ,

style=" font-family: sans-serif; font-size: 12px;color: #ffffff;height: 100% "

Please hit like , if you find the information relevant.

Related Topic