netcomp
asked on
Need to center the website and also bring down if resolution to make it fit
I have a site with Dreamwever template ( dwt) fie that I use to make major changes to all the pages at the same time. The entire web site is left aligned so the background show on the right side of the screen. The site was made 5 years ago. Is there any way that I can edit the template to center the website?
Also, is there anyway to bring down the resolution so that it would should full pages instead of a half page?( this is of less important)
Also, is there anyway to bring down the resolution so that it would should full pages instead of a half page?( this is of less important)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry, forgot the attachment. Here it is.
<TITLE>title</TITLE>
<!-- TemplateEndEditable -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!-- ****************Drop Down Menu DO NOT DELETE!!!! ****************** -->
<script language="JavaScript">
<!--
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="JavaScript" src="mm_menu.js"></script>
<link href="../newsiteSTYLE.css" rel="stylesheet" type="text/css">
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body {
	background-color: #336699;
}
-->
</style>
</HEAD>
<BODY text="#000000" link="#0033CC" vlink="#990000" alink="#0033CC" LEFTMARGIN=0 TOPMARGIN=0>
<!-- THIS AREA IS FOR ADDING SCRIPT FOR INDIVIDUAL PAGES ONLY -->
<!-- TemplateBeginEditable name="scripting" -->
<!-- TemplateEndEditable -->
<!-- END ADDITIONAL SCRIPT -->
<script language="JavaScript1.2">mmLoadMenus();</script>
<table width="1033" border="0" cellpadding="0" cellspacing="0" id="Contains NSA/USA site navigation & body">
<!-- remainder of site design and information here -->
</table>
</BODY>
</HTML>
Your whole site is a table. Just change line 39:
<table width="1033" border="0" cellpadding="0" cellspacing="0" id="Contains DS/USA site navigation & body">
to
<table width="1033" border="0" cellpadding="0" cellspacing="0" id="Contains DS/USA site navigation & body" align="center">
>> Also, on a side note , could you let me if I could change the background to an image or a different color.
Yes, just open the dwt file as you would any other page and edit it as you wish. Stuff like that is either in the <body> tag, in the attached stylesheet, or in the head section in <style> tags. You may have to hunt around a little bit to find the right thing to change. When done, save the DWT file and it should update all the child pages based on it.
This is pretty basic HTML stuff. How up are you on web design?
<table width="1033" border="0" cellpadding="0" cellspacing="0" id="Contains DS/USA site navigation & body">
to
<table width="1033" border="0" cellpadding="0" cellspacing="0" id="Contains DS/USA site navigation & body" align="center">
>> Also, on a side note , could you let me if I could change the background to an image or a different color.
Yes, just open the dwt file as you would any other page and edit it as you wish. Stuff like that is either in the <body> tag, in the attached stylesheet, or in the head section in <style> tags. You may have to hunt around a little bit to find the right thing to change. When done, save the DWT file and it should update all the child pages based on it.
This is pretty basic HTML stuff. How up are you on web design?
ASKER
Thank you Jason,
That did the trick and the fix for now. A new site has been devolved to replace the existing site, but I needed to help someone with this for time being till the new one goes alive.
That did the trick and the fix for now. A new site has been devolved to replace the existing site, but I needed to help someone with this for time being till the new one goes alive.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Also, on a side note , could you let me if I could change the background to an image or a different color.
Thank you so much for your help Jason,