Location: PHPKode > projects > Employee Scheduling System > essv1-2/htmlarea/examples/dynamic_css.html
    <title>Test of CSS plugin</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript">
      _editor_url = "../";
      _editor_lang = "en";

    <!-- load the main HTMLArea files -->
    <script type="text/javascript" src="../htmlarea.js"></script>

    <script type="text/javascript">

      function initDocument() {
        var editor = new HTMLArea("editor");
        editor.config.pageStyle = "@import url(dynamic.css);";



  <body onload="HTMLArea.init(); HTMLArea.onload = initDocument">
    <h1>Test of DynamicCSS plugin</h1>

    <textarea id="editor" style="height: 30em; width: 100%;">
        <p>p with default p style</p><br>
        <p class="p1">p with p.class="p1"</p><br>
        <p class="p2">p with p.class="p2"</p><br>
        <div>div with default div class</div><br>
        <div class="div1">div with div.class="div1"</div><br>
        <div class="div2">div with div.class="div2"</div><br>
        <span class="highlight">testtext with common class="highlight"</span>
Return current item: Employee Scheduling System