Test insertion

by spliter

HTML

<div id="contentDiv">I am the content div</div>

CSS

#contentDiv {background: Green}
#contentUi {background: Red}

JavaScript

(function($) {
    $("#contentDiv").append('<ul id="contentUi"><li><a href="#">Test insertion</a></li></ul>');
    $("#contentUi").css({
        "text-align": "center",
        "list-style-type": "none"
    });
    $("#contentDiv").css({
        "text-decoration": "none",
        "font-size": " 1.30em",
        "font-weight": "bold"
    });
})(jQuery);