Cek this site: http://www.masterlink.co.id/
Cek the text which is out of order. I wonder how to keep the text in order eventhough I change the screen resolution for example to 1280 x 800 or 1024 x 768 px.
index.php
<html>
<head>
<title>Rustoleum</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" media="screen">
</head>
<center>
<div id="container">
<div id="logo"><img src="images/logo.gif"></div>
<div id="menu"><a href="#">Pengenalan Perusahaan</a> <a href="#">Industrial Product</a> <a href="#">Aerosol Product</a> <a href="#">Konsultasi Konsumen</a></div>
<img src="images/banner.gif">
<body>
<div id="sidenav"><img src="images/sidenav.jpg"></div>
</center>
<div id="sidenavtext">
<font color="green">PT. Rus-Oleum</font><br><br>
Pengenalan Perusahaan<br><br>
Sejarah Perusahaan<br><br>
Cabang<br>
</div>
<div id="content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ultrices enim at leo elementum rutrum. Etiam eu
felis nulla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nam feugiat porttitor
porta. Suspendisse consectetur ligula pellentesque arcu sollicitudin varius. Pellentesque id tellus felis, vestibulum convallis
tortor. Mauris nec lorem id mauris suscipit sagittis sit amet ut arcu. Nullam eget ipsum ac eros volutpat venenatis.
Morbi urna erat, malesuada a vulputate a, vulputate in massa. Aliquam in nunc vitae velit consequat mollis. Quisque i
n diam nec magna blandit sodales. In et ipsum et dui ultrices mattis sit amet ac justo.
<br><br>Duis a libero et purus vestibulum dapibus. Cras vel malesuada ligula. Ut eget velit venenatis lacus consequat placerat.
Cras adipiscing metus eu felis aliquam adipiscing. Sed in sapien non augue fringilla tincidunt. In hac habitasse platea
dictumst. Maecenas lectus dolor, ornare eget interdum vestibulum, ornare sit amet dolor.
<br><br>Curabitur urna dolor, varius eget varius vitae, fringilla et justo. Sed gravida viverra lectus, eget commodo tellus placerat
eu. Maecenas a sapien vitae sapien tristique consectetur at nec augue. Vestibulum scelerisque, risus et fermentum
venenatis, magna nunc pharetra sem, sed rhoncus dui neque non velit. Curabitur posuere, nisl quis scelerisque euismod,
enim diam sollicitudin quam, et dignissim est risus nec libero. Cum sociis natoque penatibus et magnis dis parturient
</div>
<center>
<hr width=950px;>
<div id="logo"><img src="images/logo.gif"></div>
</body>
</div>
</center>
</html>
style.css
/* CSS Document */
#container { width: 512px height:768px}
#logo { margin: 0 0 0 -700px;}
#menu { margin: 20px 0 20px 30px;}
#sidenav { z-index:0; margin: 30px 0 0 -700px;}
#sidenavtext { z-index:-1; margin: -200px 0 0 100px; font: Arial; color: blue;}
#content { width: 680px; margin: -150px 0 100px 420px;}
I have tried to place a container to keep the whole website inside a container and make sure the whole container stays in the center but it does not work. Any other idea how to fix this? If I align the content with margin then it will turn to chaos if I change the screen resolution. Earlier I tried to place the content in the center yet as a result the whole content align center not left as it suppose to be.