The Content Editor Web Part provides a flexible tool for adding content to pages for web browser users. Yet the power afforded is limited to some extent by the web interface itself. Opening a page containing a CEWP in SharePoint Designer brings the full power of SPD's design surface to bear, as well as the additional capabilities of the Code view, such as IntelliSense.
13.2.1. Design View: The Page within a Page
In SharePoint Designer, the Design view simply treats the content area of the CEWP as a container such as a <DIV> or table cell. If there is no content, SharePoint Designer displays a message indicating that you can directly edit the contents of the Web Part. Figure 13-7 shows the default, empty CEWP in SharePoint Designer.
Figure 13-7. Figure 13-7
Notice that the empty CEWP is relatively small. The part expands as you add content to it, just like any other container. You may find it convenient, however, to set the height and width properties of the part to a more workable size prior to inserting any highly formatted content, such as a table or IFrame. You can find these properties by right-clicking the Web Part and selecting Web Part Properties from the context menu.
While the CEWP is capable of supporting virtually any client-side functionality, the SPD Design view is aware of the nature of the CEWP, and the restrictions ...
Get Professional Microsoft® SharePoint® Designer 2007 now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.