How to edit wikipages with custom styles

We use custom styles for our wiki pages on this project, and it is a pain in the ass. Here's what you have to do to use them (note that all pages must use Html Markup):

Code Boxes

Insert a default-style code box.  Press the HTML button to edit the source.  Find this:

Code (HTML): Code to update

<div style="color: black; background-color: white;">

In the source of the page.  Change it to the following:

Code (HTML): Updated code

<p style="margin: 0pt!important; width: 636px!important; background-color: #cccccc; padding: 2px;"><strong>Code (C#):</strong> short description of code here</p>
<div style="color: black; background-color: #ffffff!important; overflow: scroll; height: auto!important; max-height: 400px!important; border: 0.1em dashed #3e62a6!important; width: 634px!important;">
<pre style="color: black; background-color: rgb(255, 255, 255) ! important; width: auto ! important; height: auto ! important; border: medium none ! important; margin-bottom: 0pt ! important; padding-bottom: 6px ! important; overflow: visible ! important; white-space: pre ! important;">

Last edited Feb 24, 2012 at 10:18 PM by sircmpwn, version 5


No comments yet.