JSFiddle

  • Sort Unordered list items

    How to sort un ordered list items

    $(function () {            
    	$('#sortList').click(function (e) {
    		e.preventDefault();		
    		var numbersList = $('#numbersList li');                
    		numbersList.sort(function (a, b) {
    			return parseInt($(a).text ...
  • inline-block elements issue

    inline-block elements not occupying entire width of container element

    <div class="container">
    	<nav>
    		<ul>
    			<li><a href="#">Home</a></li>
    			<li><a href="#">Solutions</a></li>
    			<li><a href="#">Products</a></li>
    			<li><a href="#">FAQ</a></li>
    			<li><a href="#">About Us</a></li>
    			<li><a href="#">Contact Us</a></li>
    		</ul>
    	</nav>
    	<div class="column">
    		<section>
    			<p>
    				Lorem Ipsum is simply dummy text of the printing and typesetting industry ...</p></section></div></div>