I'm bulding a Web page using AP Divs and I was able to make it center in the middel of the screen. My problem is to make the page scale to diferent sckreen resolutions. I know thag I need to change px in to %, but every time I try to fix the code in orther to achive my goal, the page get screw up. can any body healp me with my problem. I include the code of my page, any suggestions are very welcome.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Welcome To Royal Torres Portfolio On Line</title>
<style type="text/css">

html,body{
    margin: 0px;
    color: #666;
    }
    #container{
    width: 100%;
    height: 750px;
    position: relative;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    max-width: 1496px;

}
#apDiv1 {
    position: absolute;
    width: 1496px;
    height: 750px;
    z-index: 1;
    left: -1px;
    background-color: #FFFFFF;
}
#apDiv2 {
    position: absolute;
    width: 100%;
    height: 395px;
    z-index: 1;
    left: -1px;
    top: 198px;
}
body {
    background-color: #666;
}
body,td,th {
    color: #000;
}
#apDiv3 {
    position: absolute;
    left: 1055px;
    top: 21px;
    width: 28.4759%;
    height: 138px;
    z-index: 1;
    text-align: left;
}
#apDiv4 {
    position: absolute;
    left: 31px;
    top: 651px;
    width: 52px;
    height: 57px;
    z-index: 2;
}
#apDiv5 {
    position: absolute;
    left: 156px;
    top: 651px;
    width: 55px;
    height: 58px;
    z-index: 3;
}
#apDiv6 {
    position: absolute;
    left: 280px;
    top: 651px;
    width: 54px;
    height: 58px;
    z-index: 4;
}
#apDiv7 {
    position: absolute;
    left: 210px;
    top: 793px;
    width: 1497px;
    height: 88px;
    z-index: 1;
    background-color: #FFFFFF;
}
#apDiv8 {
    position: absolute;
    left: 210px;
    top: 921px;
    width: 1497px;
    height: 49px;
    z-index: 2;
    background-color: #FFFFFF;
}
#apDiv9 {
    position: absolute;
    left: 210px;
    top: 1018px;
    width: 1497px;
    height: 33px;
    z-index: 3;
    background-color: #FFFFFF;
}
#apDiv10 {
    position: absolute;
    left: 212px;
    top: 1100px;
    width: 1497px;
    height: 15px;
    z-index: 4;
    background-color: #FFFFFF;
}
</style>

<link href="bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>


<body onload="MM_preloadImages('graphics/K.gif')">
<div id="container">
<div id="apDiv1">
  <div id="apDiv3"><img src="graphics/droppedImage.png" width="398" height="133" /></div>
  <div id="apDiv4"><a href="intermezzo.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','graphics/K.gif',1)"><img src="graphics/C.gif" width="53" height="59" id="Image4" /></a></div>
  <div id="apDiv5"><a href="about_me.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','graphics/K.gif',1)"><img src="graphics/Y.gif" width="53" height="59" id="Image5" /></a></div>
  <div id="apDiv6"><a href="page_1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','graphics/K.gif',1)"><img src="graphics/M.gif" width="53" height="59" id="Image6" /></a></div>
  <div id="apDiv2"><img src="graphics/droppedImage_1.png" alt="a" width="741" height="396" /><img src="graphics/droppedImage_1.png" alt="b" width="755" height="391" /></div>
</div>
</div>
</body>
</html>
html,body{


margin: 0px;
color: #666;
}
#container{
width: 100%;
height: 750px;
position: relative;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
max-width: 1496px;