Search code examples
htmlcsssharepoint-2010master-pages

Can I test tweakings of HTML/CSS intended for a Sharepoint solution in a non-Sharepoint solution?


We need to tweak some aspects of our Sharepoint site collection ("widen" the page, get rid of fixed/explicitly-sized elements).

I would like to test "probing" type changes in a separate environment, to quickly see what might work.

I have not been able to install Sharepoint on my dev machine (either at home or at work); we do the Sharepoint development via a Remote Desktop Connection to a Windows Server machine that has SP set up.

Anyway, what I'd like to do is create a "plain old" ASP.NET (not Sharepoint) app on my dev machine (locally) and test out my proposed HTML and CSS tweakings. Is this feasible and, if so, how?

Can I simply copy over the *.master pages (v4, minimal, default), the CSS files they reference and the HTML from various pages?

Is there a well-known way to test HTML/CSS changes for Sharepoint solutions in a non-Sharepoint solution?


Solution

  • There is no "easy" way to do this as far as I know.

    However there is a possible solution a bit more tricky.

    You can convert an HTML page to a Sharepoint master page and so on.

    See this link for info about HTML to Sharepoint

    https://msdn.microsoft.com/en-us/library/office/jj822370.aspx

    You could easily just reverse this process. i.e. Sharepoint to HTML

    This would allow you to test however you would like. Then just apply changes accordingly.