troubleshooting Question

How to center a webpage in dreamweaver created in fireworks

Avatar of wingcat
wingcat asked on
Web Graphics SoftwareWeb DevelopmentWeb Development Software
2 Comments1 Solution1010 ViewsLast Modified:
I have created many pages with fireworks without any problems but for this page, I also used a dropdown menu. This seems to be conflicting with how I can position the page. I would like to center the page. I have checked the other posters questions, tried what was suggested, but it doesnt work.

Can you please help in centering the page. I did create a div id called centerwrap in hopes of centering it with css by using text align: center, but no go!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html>
<head>
<title>index.jpg</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--Fireworks CS3 Dreamweaver CS3 target.  Created Tue Mar 17 21:23:59 GMT-0500 (Central Daylight Time) 2009-->
<script language="JavaScript">
<!--
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];}
}
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];}}
}
 
//-->
</script>
<script language="JavaScript1.2" type="text/javascript" src="mm_css_menu.js"></script>
<style type="text/css" media="screen">
	@import url("./index.css");
</style>
</head>
<body bgcolor="#ffffff" onLoad="MM_preloadImages('images/index_r2_c2_f2.jpg','images/index_r2_c3_f2.jpg','images/index_r2_c4_f2.jpg','images/index_r2_c5_f2.jpg','images/index_r2_c6_f2.jpg','images/index_r2_c7_f2.jpg','images/index_r2_c8_f2.jpg','images/index_r2_c9_f2.jpg');">
 
  <div id=centerwrap> 
  <div id="FWTableContainer996086414"">
    <table border="0" cellpadding="0" cellspacing="0" width="1003">
      <!-- fwtable fwsrc="singpraise.png" fwpage="Page 1" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "996086414" fwnested="0" -->
      <tr>
        <td colspan="10"><img name="index_r1_c1" src="images/index_r1_c1.jpg" width="1003" height="140" border="0" alt=""></td>
      </tr>
      <tr>
        <td><img name="index_r2_c1" src="images/index_r2_c1.jpg" width="80" height="28" border="0" alt=""></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c2','','images/index_r2_c2_f2.jpg',1);"><img name="index_r2_c2" src="images/index_r2_c2.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c3','','images/index_r2_c3_f2.jpg',1);"><img name="index_r2_c3" src="images/index_r2_c3.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0317141612_0', 'MMMenu0317141612_0',0,29,'index_r2_c4');MM_swapImage('index_r2_c4','','images/index_r2_c4_f2.jpg',1);"><img name="index_r2_c4" src="images/index_r2_c4.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c5','','images/index_r2_c5_f2.jpg',1);"><img name="index_r2_c5" src="images/index_r2_c5.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c6','','images/index_r2_c6_f2.jpg',1);"><img name="index_r2_c6" src="images/index_r2_c6.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c7','','images/index_r2_c7_f2.jpg',1);"><img name="index_r2_c7" src="images/index_r2_c7.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c8','','images/index_r2_c8_f2.jpg',1);"><img name="index_r2_c8" src="images/index_r2_c8.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><a href="javascript:;" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c9','','images/index_r2_c9_f2.jpg',1);"><img name="index_r2_c9" src="images/index_r2_c9.jpg" width="105" height="28" border="0" alt=""></a></td>
       <td><img name="index_r2_c10" src="images/index_r2_c10.jpg" width="83" height="28" border="0" alt=""></td>
      </tr>
      <tr>
        <td colspan="10"><img name="index_r3_c1" src="images/index_r3_c1.jpg" width="1003" height="31" border="0" alt=""></td>
      </tr>
      <tr>
        <td colspan="10"><img name="index_r4_c1" src="images/index_r4_c1.jpg" width="1003" height="160" border="0" alt=""></td>
      </tr>
      <tr>
        <td colspan="10"><img name="index_r5_c1" src="images/index_r5_c1.jpg" width="1003" height="31" border="0" alt=""></td>
      </tr>
      <tr>
        <td colspan="10"><img name="index_r6_c1" src="images/index_r6_c1.jpg" width="1003" height="50" border="0" alt=""></td>
      </tr>
    </table>
    <div id="MMMenuContainer0317141612_0">
      <div id="MMMenu0317141612_0" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
        <a href="javascript:;" id="MMMenu0317141612_0_Item_0" class="MMMIFVStyleMMMenu0317141612_0" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0','1');">
          <span class="MMMenuItemSpanMMMenu0317141612_0">Adult&nbsp;&amp;&nbsp;Youth&nbsp;Choir&nbsp;Songs</span>
          <img src="images/arrows.gif" alt="" class="MMArrowStyleMMMenu0317141612_0">        </a>
        <a href="javascript:;" id="MMMenu0317141612_0_Item_1" class="MMMIVStyleMMMenu0317141612_0" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0','2');">
          <span class="MMMenuItemSpanMMMenu0317141612_0">Children's&nbsp;Choir&nbsp;Songs</span>
          <img src="images/arrows.gif" alt="" class="MMArrowStyleMMMenu0317141612_0">        </a>
        <a href="drama.html" id="MMMenu0317141612_0_Item_2" class="MMMIVStyleMMMenu0317141612_0" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0');">
          Drama          </a>
        <a href="copyrightfree.html" id="MMMenu0317141612_0_Item_3" class="MMMIVStyleMMMenu0317141612_0" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0');">
          Copyright&nbsp;Free&nbsp;Songs          </a>      </div>
      <div id="MMMenu0317141612_0_1" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
	      <a href="adgeneral.html" id="MMMenu0317141612_0_1_Item_0" class="MMMIFVStyleMMMenu0317141612_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0_1');">
	        General&nbsp;Songs          </a>
	      <a href="adeaster.html" id="MMMenu0317141612_0_1_Item_1" class="MMMIVStyleMMMenu0317141612_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0_1');">
	        Easter&nbsp;Songs          </a>
	      <a href="adchristmas.html" id="MMMenu0317141612_0_1_Item_2" class="MMMIVStyleMMMenu0317141612_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0_1');">
	        Christmas&nbsp;Songs          </a>      </div>
      <div id="MMMenu0317141612_0_2" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
	      <a href="chgeneral.html" id="MMMenu0317141612_0_2_Item_0" class="MMMIFVStyleMMMenu0317141612_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0_2');">
	        General&nbsp;Songs          </a>
	      <a href="cheaster.html" id="MMMenu0317141612_0_2_Item_1" class="MMMIVStyleMMMenu0317141612_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0_2');">
	        Easter&nbsp;Songs          </a>
	      <a href="chchristmas.html" id="MMMenu0317141612_0_2_Item_2" class="MMMIVStyleMMMenu0317141612_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0317141612_0_2');">
	        Christmas&nbsp;Songs</a></div>
    </div>
</div>
</div>
 
    </div>
</div>
  
</div>
</div>
</body>
</html>
ASKER CERTIFIED SOLUTION
DanielPi

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros