Put inline list inside a well

Description

The following code shows how to put inline list inside a well.

Example


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
@import url('http://getbootstrap.com/2.3.2/assets/css/bootstrap.css');
.inline li {<!--from www  . j ava  2s .c om-->
  width: 18% !important;
  background: #FFF !important;
}
.inline li: hover {
  background: #A5A5A5 !important;
}
</style>
</head>
<body style='margin:30px'>
  <div class="well">
    <ul class="inline">
      <li>1</li>
      <li>2</li>
      <li>3</li>
      <li>3</li>
      <li>3</li>
    </ul>
  </div>
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Example »




Accordion
Alert
Auto Complete
Badge
Breadcrum
Button
Carousel
Collapse
Dialog
Dropdown
Form
Icon
Jumbotron
Label
Layout
List
List Group
Media
Navigation Bar
Pager
Page Header
Panel
Paragraph
Pills
Popover
ProgressBar
ScrollSpy
Switch
Tab
Table
Thumnail
Tooltip
Tree
Well