Problems with Pages After Adding Code to a CEWP
Sometimes, I’ve found that adding certain code to a CEWP in SharePoint 2010 causes issues, such as JavaScript exceptions. For instance, I found that adding the code snippet shown in Listing 6.1 to a CEWP on a Wiki or Web part page caused issues when attempting to add text and interact with the ribbon text formatting commands; none of the ribbon’s text formatting commands would function.
<p align="center"><!--BEGIN LINK CODE!--><linkhref="https://www.somesite.com/styles/ClientButton.css" rel="stylesheet"type="text/css"/> </p><table class="classname"><tbody><tr><td><div class="classname"><divclass="ROLbtn"><ul><li><a title="Title of Link" href="http://www.websiteURL.com" ...
Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.