Below is the code that I attempted:
<div style="width:85%;">
<input class="formbutt" value="AddNew" title="AddNew" type="button"
style="{(${projectEnvironmentBean.divStyle}=='dipslay:none') ? 'display:block' :'display:none'}" id="addNewId" onclick="addnewFn();">
</div>
While analyzing this code, I encountered issues with checking the div-style and did not achieve the desired outcome as expected.