how to align text below an icon -- bootstrap and css

Hello,
  I have fix footer on my page and would like the text of the action to be position below the bootstrap icon. Not sure how to  do it. I added a br tag but the text moves out of the visible area

here is my code

<!DOCTYPE html>
<html>

  <head>
    <link data-require="bootstrap@3.3.2" data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
    <script data-require="bootstrap@3.3.2" data-semver="3.3.2" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
    <script data-require="jquery@2.1.3" data-semver="2.1.3" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
    <link rel="stylesheet" href="style.css" />
   
    <style>
       .rfooter
          {
          	height:5em;
          	text-align:center;
            color: white;
            background-color:green;
            font-size:1.5em;
           
          
          
          }
           .footerSeachButton
           {
           	  background:grey;
           	  color:white;
            	text-align:center;
            	height: 5em;
            	vertical-align:middle;
            	line-height:5em;
            
              
           }
          .footerLoginButton
           {
            	background:yellow;
            	color:white;
            	text-align:center;
            	 height: 5em;
            	 vertical-align:middle;
            	 line-height:5em;
            
           }
      
    </style>
  </head>

  <body>
  
<footer class="navbar-fixed-bottom rfooter">
  <div class="container">
    <div class="row">
        <div class="col-xs-6 col-md-6 footerSeachButton ">
         <span class="glyphicon glyphicon-user" aria-hidden="true">User</span>
        </div>
        <div class="col-xs-6 col-md-6 footerLoginButton ">
          <span class="glyphicon glyphicon-zoom-in" aria-hidden="true">Find</span>
        </div>
      </div>
    </div>
</footer>
</body>

</html>

Open in new window

Capture.PNG

Here is an image .. I would like the text to be under the icon..

link to plunk..http://plnkr.co/edit/xb1HLIhSfVZzEe2p7bT0?p=preview

Thanks for the help
chand pbAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tailoreddigitalCommented:
Add a <br> tag, It seems to do the job,
BR
<!DOCTYPE html>
<html>

  <head>
    <link data-require="bootstrap@3.3.2" data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
    <script data-require="bootstrap@3.3.2" data-semver="3.3.2" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
    <script data-require="jquery@2.1.3" data-semver="2.1.3" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
    <link rel="stylesheet" href="style.css" />
   
    <style>
       .rfooter
          {
                height:5em;
                text-align:center;
            color: white;
            background-color:green;
            font-size:1.5em;
           
         
         
          }
           .footerSeachButton
           {
                   background:grey;
                   color:white;
                  text-align:center;
                  height: 5em;
                  vertical-align:middle;
                  line-height:5em;
           
             
           }
          .footerLoginButton
           {
                  background:yellow;
                  color:white;
                  text-align:center;
                   height: 5em;
                   vertical-align:middle;
                   line-height:5em;
           
           }
     
    </style>
  </head>

  <body>
 
<footer class="navbar-fixed-bottom rfooter">
  <div class="container">
    <div class="row">
        <div class="col-xs-6 col-md-6 footerSeachButton ">
         <span class="glyphicon glyphicon-user" aria-hidden="true"><br>User</span>
        </div>
        <div class="col-xs-6 col-md-6 footerLoginButton ">
          <span class="glyphicon glyphicon-zoom-in" aria-hidden="true"><br>Find</span>
        </div>
      </div>
    </div>
</footer>
</body>

</html>
0
chand pbAuthor Commented:
Thanks you..
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
The icon is just a background.  Make 2 spans or 2 div's.  If spans set to display:Block  http://plnkr.co/edit/xb1HLIhSfVZzEe2p7bT0?p=preview

<!DOCTYPE html>
<html>

  <head>
    <link data-require="bootstrap@3.3.2" data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
    <script data-require="bootstrap@3.3.2" data-semver="3.3.2" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
    <script data-require="jquery@2.1.3" data-semver="2.1.3" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
    <link rel="stylesheet" href="style.css" />
   
    <style>
       .rfooter
          {
          	height:5em;
          	text-align:center;
            color: white;
            background-color:green;
            font-size:1.5em;
           
          
          
          }
           .footerSeachButton
           {
           	  background:grey;
           	  color:white;
            	text-align:center;
            	height: 5em;
            	vertical-align:middle;
            	line-height:5em;
            
            
              
           }
           .footerSeachButton span{
               display:block;
               height:20px;
               
           }
          span.footericon{
            line-height:4;
            
          }
          .footerLoginButton
           {
            	background:yellow;
            	color:white;
            	text-align:center;
            	 height: 5em;
            	 vertical-align:middle;
            	 line-height:5em;
            
           }
      
    </style>
  </head>

  <body>
    <div class="container">
       <div class="row">
         <button class="col-xs-6 col-md-6 footerSeachButton ">
            <i class="glyphicon glyphicon-user" style="font-size:30px; vertical-align: middle;"></i>
            <div style="color:green">Continue</div>
          </button>
       </div>
     

      
      
    </div>
    
   
  
<footer class="navbar-fixed-bottom rfooter">
  <div class="container">
    <div class="row">
        <div class="col-xs-6 col-md-6 footerSeachButton">
          
         <span class="glyphicon glyphicon-user footericon" aria-hidden="true"></span>
         <span class="">User</span>
         
        </div>
        <div class="col-xs-6 col-md-6 footerLoginButton ">
          <span class="glyphicon glyphicon-zoom-in" aria-hidden="true">Find</span>
        </div>
      </div>
    </div>
</footer>
</body>

</html>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

chand pbAuthor Commented:
Thanks scott..


I had already accepted the first answer but your solution is the one I will use.. Not sure how to give you points ...

Will send the admin an email
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Just click the request attention link under the question.  

Thank you for recognizing this answer.
0
chand pbAuthor Commented:
Thanks for the solution .. sorry tailoreddigital for taking away point but I am not able to assign more than 500 points.

Thanks scott and tailoreddigital for answering my question
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.