Do you use SharePoint designer well?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
<introEmbed body={<> We love SharePoint designer and use it everyday. But there are things that it doesn't do naturally, or it does really badly. Here are some tips on using SharePoint designer well. - Don't use inline CSS - this goes for any website. - Always put &lt;div class="..."&gt; wrappers around SharePoint controls. This allows us to define styles for SharePoint controls. It is possible to use CssClass like ASP.NET, but then we lose control to SharePoint regarding how that control will be rendered. Also, some SharePoint controls will eat up your CssClass and not render anything. - Naming convention for control id! Don't get lazy. - Turn off Auto indent. Otherwise SharePoint designer will keep modifying your file whenever it saves the HTML - this will make you very upset. </>} />

Uncheck Auto indent

Acknowledgements

John Liu
Adam Cogan
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star