title: Add an arrow under the active menu item in HTML+CSS
body: <p>I am trying to generate a menu like the following:</p>
  
  <p><img src="https://i.stack.imgur.com/ltiWB.png" alt="enter image description here"></p>
  
  <p>There are several items in the menu and the active one has an arrow after it.
  The menu items are  tags like the following code:</p>
  
  <pre><code>&lt;div class="menuCenter"&gt;
       &lt;div class="linksWrapper"&gt;
        &lt;a href="#"&gt;Home&lt;/a&gt;
        &lt;a class="menuCenterLinkLeft" href="#"&gt;Plans &amp; Pricing&lt;/a&gt;
        &lt;a class="menuCenterLinkLeft" href="#"&gt;Sign In&lt;/a&gt;
        &lt;a class="menuCenterLinkLeft active" href="#"&gt;Sign Up&lt;/a&gt;
        &lt;a class="menuCenterLinkLeft" href="#"&gt;Contact&lt;/a&gt;
       &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tryied two options: 
  1- Absolutely positioning the arrow image with javascript. I have problems when resizing the page.
  2- Using the :after pseudo element, like this:</p>
  
  <pre><code>.linksWrapper a.active:after
  {
      content: url("images/arrowImg.png");
      position: relative;
      left: -40px;
      top: 30px; 
  }
  </code></pre>
  
  <p>The problem with this approach was the horizontal alignment of the arrow. It should be below the center of the link and I could not achive that.
  I can use HTML5 or CSS 3.</p>
  
  <p>Any help?</p>