Align Select with button on footer

Description

The following code shows how to align Select with button on footer.

Example


<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.8.3.js'></script>
<script type="text/javascript"
  src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.js"></script>
<link rel="stylesheet" type="text/css"
  href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.css">
</head><!--from  w  ww .  j av  a  2 s .  c  o  m-->
<body>
  <div data-role="page">
    <div data-role="header">
      <h1>Header</h1>
    </div>
    <div data-role="content">Place Content Here</div>
    <footer data-role="footer" class="ui-body-b">
      <div data-role="navbar">
        <ul>
          <li><a href="#">page1</a></li>
          <li><a href="#">page2</a></li>
          <li><a href="#">page3</a></li>
          <li><a href="#">page4</a></li>
          <li><select id='htmlsel' size='1'>
              <option>option1</option>
              <option>option2</option>
              <option selected>option3</option>
          </li>
        </ul>
      </div>
    </footer>
  </div>
</body>
</html>

Click to view the demo





















Home »
  jQuery Mobile »
    Example »




Button
Button Event
Button Icon
Button Text
Checkbox
Collapsible
Date
Dialog
Event
Footer
Form
Header
Icon
Input
Layout
Listview
Listview Divider
Listview Item
Loader
mobile_settings
Navbar
Page
Page Event
Popup
Radio
Select
Slider
Switch
Textarea
Theme