Help! This is my menu. I want it to stay at the same place, so if you resize it or drag the browser it shouldnt follow the browser and move the menu to the side
<div id="mainmenu" style="position: relative;">
<div id="menuLinks" style="position: absolute; right: 70px; top: 10px; ">
<a href="home.php">HEM</a>
<a href="#">PROFILER</a>
<a href="#">BILDER</a>
<a href="#">DISKOTEKER</a>
<a href="#">EVENTS</a>
<a href="#" class="menu_class">KONTROLLPANEL</a>
</div>
This works only if i change the div mainmenu line to:
<div id="mainmenu" style="position: relative; width: 1200px;">
(giving a width: ) then it stays at the place. But I do not want to specify width, because then it will end too early for some other screen resolutions and so..
How can i fix this?