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

Warning Message:

<apex:page showHeader="false" id="SiteTemplate" > <apex:stylesheet value="{!$Resource.StyleCSS2}"/> <div id="topgraybar"></div><center> <table border="0" cellpadding="4" cellspacing="4" bgcolor="#FFFFFF" width="900"> <tr> <td> <a href=""><apex:image id="logo1" value="{!$Resource.STLogoNoTagLine}" width="272"/></a> </td> </tr> <tr> <td> <div id="nav"> <a class="nav_home" href=""></a> <a class="nav_about" href=""></a> <a class="nav_sellers" href=""></a> <a class="nav_buyers" href=""></a> <a class="nav_partners" href=""></a> <a class="nav_community" href=""></a> <!-- <a class="nav_exchange" href=""></a> --> <a class="nav_login" href=""></a> </div> <div id="green_hr"><img src="" height="1" width="1" alt="" border="0" /></div> </td> </tr> <tr> <td> <apex:insert name="body"/> </td> </tr> </table></center> </apex:page>

 I deployed a visualforcepage into sandbox, everything worked fine no error messages or warning mesages. However when i deployed that same page into production i got this warning message: the element type "center" should be terminated by the matching end-tag "</center>" at line 10,  but when i refresh the page the warning sign goes away.also the positioning of a pageblocksection was centered instead of being in the left. also there is no center element in the visualforce code so i dont know where it got that warning message from. here is a code snipet of the template that is used for the page.


Can you repost the screenshot?

Ankit AroraAnkit Arora

Can you please provide the code snippet?




Ankit Arora

Blog | Facebook | Blog Page


Actually I figured out it was an internet browser issue. It works fine in internet explorer but displays the warning only when using chrome, firefox, and safari. Any suggestions?