VWcms Raw HTML  
 

[PREV][NEXT]

[PRINT]

The HTML editor formats and reformats entered text according to its own requirements.  Occasionally this can make the management of some site-specific (HTML) construct frustrating.  The $$HTML$$ directive takes a parameter and processes it as if raw HTML.  Of course, as it is HTML, the user must supply all required markup, including line-breaks, etc.  Careful!  It should be XHTML.  And there are a multitude of ways to "break" the page!  As with regular HTML, generally white-space may be used as freely as desired.

The following example

$$HTML$<table style="border-color:black;border-style:dashed;
border-width:5px; padding:2em; margin-left:2em;">
<tr><td>Cell<br/>One</td><td>
&amp;</td><td> Cell
<p> Two </p><td></tr>
</table>$$

is rendered as

Cell
One
& Cell

Two

in this case removing the HTML editor's influence on the table layout.

The next example should be self-explanatory.

$$HTML$<div style="background-color:yellow;padding:1em;">$$

Opening and closing HTML elements may be in separate $$$$HTML$$$$ directives with intervening edited content.

$$HTML$</div>$$

Opening and closing HTML elements may be in separate $$HTML$$ directives with intervening edited content.

[PRINT]  [PRINT]