title: Bootstrap class dropdown-menu dropdown-menu-right is not working on self-defined sub-menu's
body: <p>In related to my previous question (<a href="https://stackoverflow.com/questions/31236520/dropdown-submenu-on-bootstrap-is-not-working/31236591?noredirect=1">Dropdown submenu on bootstrap is not working</a>)
  I'm currently building a sub-menu for a sub-menu of an li dropdown. So it means that it is nested. Under the banking menu there is transaction dropdown menu and below the transaction dropdown there is a menu for different type of transactions. 
  By the way, I've successfully created it BUT the submenu of the "transaction" module appears on the front of the transaction menu during hover, blocking the parent menu which is the transaction. How can I avoid it and place it on the right side of the transaction menu during hover? Anyways, I've done using "dropdown-menu dropdown-menu-right" but it doesnt change the output of the program. I think there is something wrong with my CSS.</p>
  
  <p>HTML CODE: </p>
  
  <pre><code>    &lt;li class='dropdown'&gt;&lt;a id = 'dLabel' class='dropdown-toggle active' data-toggle='dropdown' href='#'&gt;&lt;img src = 'images/forbank.png' height = 35 width = 35&gt;Banking&lt;span class='caret'&gt;&lt;/span&gt;&lt;/a&gt;
          &lt;ul class='dropdown-menu' role='menu' aria-labelledby='dropdownMenu'&gt;
              &lt;li class = 'dropdown-submenu'&gt;
              &lt;a  tabindex = '-1' href='#'&gt;&lt;span class = 'glyphicon glyphicon-cog'&gt; &lt;/span&gt;  Transaction &lt;/a&gt;
                  &lt;ul class='dropdown-menu dropdown-menu-right' aria-labelledby='dLabel'&gt;
                      &lt;li&gt;&lt;a tabindex='-1' href='#'&gt; Withdrawal / Deposit &lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a tabindex='-1' href='#'&gt; Fixed Deposit &lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
              &lt;li role='separator' class='divider'&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href='#'&gt;&lt;span class='glyphicon glyphicon-list-alt'&gt; &lt;/span&gt; Summaries &lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href='#'&gt;&lt;span class='glyphicon glyphicon-wrench'&gt; &lt;/span&gt;  Settings &lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/li&gt;
  </code></pre>
  
  <p>CSS CODE:</p>
  
  <pre><code>.dropdown-submenu {
      position: relative;
  }
  
  .dropdown-submenu&gt;.dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -6px;
      margin-left: -1px;
      -webkit-border-radius: 0 6px 6px 6px;
      -moz-border-radius: 0 6px 6px;
      border-radius: 0 6px 6px 6px;
  }
  
  .dropdown-submenu:hover&gt;.dropdown-menu {
      display: block;
  }
  
  .dropdown-submenu&gt;a:after {
      display: block;
      content: " ";
      float: right;
      width: 0;
      height: 0;
      border-color: transparent;
      border-style: solid;
      border-width: 5px 0 5px 5px;
      border-left-color: #ccc;
      margin-top: 5px;
      margin-right: -10px;
  }
  
  .dropdown-submenu:hover&gt;a:after {
      border-left-color: #fff;
  }
  
  .dropdown-submenu.pull-left {
      float: none;
  }
  
  .dropdown-submenu.pull-left&gt;.dropdown-menu {
      left: -100%;
      margin-left: 10px;
      -webkit-border-radius: 6px 0 6px 6px;
      -moz-border-radius: 6px 0 6px 6px;
      border-radius: 6px 0 6px 6px;
  }
  </code></pre>