JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrapper">
<!-- these two div id's are used to setup the main scrolling page area, they should stay if you are sticking the ribbon to the top -->
<div id="s4-workspace">
<!-- NOTE: s4-nosetwidth is used when you are setting a fixed page width in css, remove for 100% -->
<div id="s4-bodyContainer">
<!-- id="mso_contentdiv" required, helps SharePoint put the web part editing pane in the main body on the right, you can move the ID if needed -->
<div id="MSO_ContentDiv" runat="server">
<div>
<img border='0' src="https://scontent-a-atl.xx.fbcdn.net/hphotos-prn1/75052_686280444725354_1956389340_n.jpg" alt="909 rock" width="304" height="228">
<div id="tasksUL"></div>
<div class="indentmenu">
<ul id="menulist"></ul>
</div>
</div>
</div>
CSS
.indentmenu{
font: bold 13px Arial;
width: 100%; /*leave this value as is in most cases*/
overflow: hidden;
}
.indentmenu ul{
margin: 0;
padding: 0;
float: left;
width: 85%; /*width of menu*/
border: 1px solid #564c66; /*dark purple border*/
border-width: 1px 0;
background: #003759 url(http://www.dynamicdrive.com/cssexamples/media/indentbg.gif) center center repeat-x;
}
.indentmenu ul li{
display: inline;
left: 0px;
}
.indentmenu ul li a{
float: left;
color: white; /*text color*/
padding: 5px 11px;
text-decoration: none;
border-right: 1px solid #564c66; /*dark purple divider between menu items*/
}
.indentmenu ul li a:visited{
color: white;
}
.indentmenu ul li a:hover, .indentmenu ul li .current{
color: white !important; /*text color of selected and active item*/
padding-top: 6px; /*shift text down 1px for selected and active item*/
padding-bottom: 4px; /*shift text down 1px for selected and active item*/
background: #003759 url(http://www.dynamicdrive.com/cssexamples/media/indentbg2.gif) center center repeat-x;
}
JavaScript
$("#menulist").append("<li><a href='http://www.google.com'>909</a></li>");