-1
See the image:
The content (a three.js script) would occupy 100% of the viewport(padding:0;border:0;margin:0), while the menus would occupy 10% width per 100% height. In the case of menu 1, I can using position:Fixed, however the menu 2 does not work, neither with position:Fixed nor with float:right. It would be something like this:
<html>
<head>
<title>
Game
</title>
</head>
<body>
<link href="style.css" type="text/css" rel="stylesheet"/>
<script src="three.min.js"></script>
<div id="left">
<a href="#" class="active">Menu 1</a>
<a href="#">link 1.1</a>
<a href="#">link 1.2</a>
<a href="#">link 1.3</a>
<a href="#">link 1.4</a>
</div>
<div id="right">
<a href="#" class="active">Menu 2</a>
<a href="#">link 2.1</a>
<a href="#">link 2.2</a>
<a href="#">link 2.3</a>
<a href="#">link 2.4</a>
</div>
<script src="game.js"></script>
</body>
</html>
How can I solve this problem?
It doesn’t work if you margin: 0 0 0 80%;(or 90% if the parameter is the other border) ???
– Felipe Gregio