Align text next to appended form - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Text

Description

Align text next to appended form

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
.input-append, .extraText {
   display:inline-block;
}
</style> <!--from  w  ww .jav  a  2s  . co m-->
 </head> 
 <body> 
  <div class="input-append"> 
   <input class="span4" id="my" type="text" placeholder="Search..."> 
   <button class="btn" type="button"> <i class="icon-search">Button</i> </button> 
  </div> 
  <div class="extraText">
    Extra Text 
  </div>  
 </body>
</html>

Related Tutorials