Page Widget How to - Set the size of menu on top right corner








Question

We would like to know how to set the size of menu on top right corner.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {<!--from   ww  w  .j a v a 2 s. c  o m-->
  background-color: #EEE;
  margin: 0px;
}

#CompleteLayout {
  background-color: white;
  width: 1000px;
  height: 1000px;
  margin: 0 auto;
}

.verticalmembersmenu {
  height: 300px;
  width: 300px;
  border: 1px solid black;
}

.verticalmembersmenu ul {
  list-style: none;
}

.container {
  width: 1000px;
  height: 800px;
  background: #FFF;
  margin: 0 auto;
}
</style>
</head>
<body>
  <div id="CompleteLayout">
    <div class="container">
      <div class="verticalmembersmenu">
        <ul>
          <li>Vocals</li>
          <li>Guitar</li>
          <li>Bass</li>
          <li>Drums</li>
        </ul>
      </div>
    </div>
  </div>
  </div>
</body>
</html>

The code above is rendered as follows: