Prevent over-indenting in SharePoint Designer

March 5th, 2010 | Categories: SharePoint, SharePoint Designer

After I installed SP2 for Office 2007, an annoying issue occurred. All the code started over indenting – meaning that a sub-node was indented 4 tabs into instead of 4 spaces or 1 tab.

image

There is a setting in SPD to fix that. In Tools menu select Page editor options

image

And under Code Formatting decrease the value in Indent property or change to spaces.

image