homepage Welcome to WebmasterWorld Guest from 23.23.57.144
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Dreamweaver Template Help
Dreamweaver template made my page disappear
Jenelle



 
Msg#: 4152611 posted 11:23 pm on Jun 14, 2010 (gmt 0)

Hello--I am new to the forum, and of course, I am here to humbly ask for help! I created my own template that is linked to about 50 pages on my site. I made some updates to it, saved it, updated my pages, put everything back on the server, and now it seems every page linked to the template displays nothing but the gray background.

I tried detaching and reattaching the template. When I try to reattach, DW cannot match the "head" or "body" to any section of the template. So something must be wrong there. I've printed out the code for a couple pages and compared them line by line with the template. There are head and body tags. I don't know what's gone wrong.

All I know is, if I can't fix it, all is literally lost. When you go to view source, you can still see all the code is there. It's just not showing up. The strange thing is, it all works perfectly from inside DW when I preview in browser. I've done template/update pages, get/put, synchronize/refresh, check-in/check-out numerous times to update everything. I also did recreate site cache.

Here's the html for my template:

<!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>About CHS</title>
<!-- TemplateEndEditable -->
<link rel="index" href="removed link" />
<link rel="next" href="removed link" />
<link rel="prev" href="removed link" />
<link href="../site_styles.css/global.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css">
#left_nav, #right_nav { padding-top: 30px; }
#center_content { zoom: 1; padding-top: 15px; }
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script type="text/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];}}
}

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_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_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>

<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="../site_styles.css/print.css" rel="stylesheet" type="text/css" media="print" />
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-15831845-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>

<body onload="MM_preloadImages('../images/home/about_r1_c9_f2.jpg','../images/global/about_r16_c19_f2.jpg','../images/global/about_r21_c19_f2.jpg')">
<div id="container"><!-- #BeginLibraryItem "/Library/banner.lbi" -->
<link href="../site_styles.css/global.css" rel="stylesheet" type="text/css">
<script type="text/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];}}
}

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_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_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
<div id="banner">
<div class="logo" id="logo">
<p><a href="../index.html"><img src="../images/home/CHS-Logo-Vector.gif" alt="Community Human Services Home" /></a></p>
<p>&nbsp;</p>
</div>

<div class="bannernav">
<p><a href="../about/about.html">about</a> | <a href="../careers.html">careers</a> | <a href="../getinvolved.html">get involved</a> | <a href="../contact.html">contact</a></p>
<p>&nbsp;</p>
<div id="WLSearchBoxDiv">
<table align="right" cellpadding="0" cellspacing="0" style="width:214px; height:32px;">
<tr id="WLSearchBoxPlaceholder"><td style="width:100%; border:solid 1px #cccccc; border-right-style:none; padding-left:10px; padding-right:10px; vertical-align:middle;"><input id="WLSearchBoxInput" type="text" value="&#x4c;&#x6f;&#x61;&#x64;&#x69;&#x6e;&#x67;&#x2e;&#x2e;&#x2e;" disabled="disabled" style="background-image:url(http://www.bing.com/siteowner/s/siteowner/searchbox_background_k.png); background-position:right; background-repeat:no-repeat; font-family:Arial; font-size:14px; color:#000000; width:100%; border:none 0 transparent;"/></td><td style="border:solid 1px #cccccc; border-left-style:none; padding-left:0px; padding-right:3px;"><input id="WLSearchBoxButton" type="image" src="http://www.bing.com/siteowner/s/siteowner/searchbutton_normal_k.gif" style="border:none 0 transparent; height:24px; width:24px; vertical-align:top;"/></td></tr></table>
<script type="text/javascript" charset="utf-8">
var WLSearchBoxConfiguration=
{
"global":{
"serverDNS":"www.bing.com",
"market":"en-US"
},
"appearance":{
"autoHideTopControl":false,
"width":600,
"height":400,
"theme":"Blue"
},
"scopes":[
{
"type":"web",
"caption":"&#x43;&#x48;&#x53;",
"searchParam":"removed link"
}
,
{
"type":"web",
"caption":"&#x57;&#x65;&#x62;",
"searchParam":""
}
]
}
</script>
<script type="text/javascript" charset="utf-8" src="http://www.bing.com/bootstrap.js?market=en-US&ServId=SearchBox&ServId=SearchBoxWeb&Callback=WLSearchBoxScriptReady"></script>
</div>
<!-- Bing -->&nbsp;</p>
<p>
<script type="text/javascript">a2a_linkname="Community Human Services";a2a_linkurl="removed link";</script>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
&nbsp;</p>
</div>
<div id="#donatenow">
<p><a href="../donate.html"><img src="../images/home/about_r1_c9.jpg" alt="Donate Now" name="donatenow" width="101" id="donatenow" onclick="MM_swapImage('donatenow','','../images/home/about_r1_c9_f2.jpg',1)" onmouseout="MM_swapImgRestore()" onkeypress="MM_goToURL('parent','../donate.html');return document.MM_returnValue" /></a></p>
</div>
</div>
<!-- #EndLibraryItem -->


<div id="navigation">
<div id="topsprybar">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="../substance_abuse/substanceabuse.html">substance abuse</a>
<ul>
<li><a href="../substance_abuse/genesis.html">genesis house</a></li>
<li><a href="../substance_abuse/elm.html">elm house</a></li>
<li><a href="../substance_abuse/offmain.html">off main clinic</a></li>
</ul>
</li>
<li><a href="../mental_health/mentalhealth.html" class="MenuBarItemSubmenu">mental health</a>
<ul>
<li><a href="../mental_health/outpatient.html">outpatient counseling</a></li>
<li><a href="../mental_health/cats.html">c.a.t.s.</a></li>
<li><a href="../mental_health/dvam.html">domestic violence/<br />
anger management</a></li>
<li><a href="../mental_health/f2f.html">family to family</a></li>
<li><a href="../mental_health/pep.html">parent education</a></li>
<li><a href="../mental_health/sv.html">supervised visitation</a></li>
<li><a href="../mental_health/skst.html">superkids &amp; superteens</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="../youth_services/youthservices.html">youth services</a>
<ul>
<li><a href="../youth_services/safeplace.html">safe place</a> </li>
<li><a href="../youth_services/safepassage.html">safe passage</a></li>
<li><a href="../youth_services/daisy.html">d.a.i.s.y.</a></li>
</ul>
</li>
</ul>
</div>
<br class="clearfloat" />
</div>
<div id="main_content">
<div id="left_nav">
<ul>
<li><a href="../about/mission.html">mission</a><br />
<br />
</li>
<li><a href="../about/ourleaders.html">our leaders</a><br />
<br />
</li>
<li><a href="../about/community.html">chs in the community</a><br />
<br />
</li>
<li><a href="../about/ourpeople.html">our people</a><br />
<br />
</li>
<li><a href="../about/news.html">news &amp; events</a><br />
<br />
</li>
<li><a href="../about/links.html">links</a></li>
</ul>
<p>&nbsp;</p>
<br />
<p><!-- Begin ConveyThis Button -->
<p><a href="http://removed link/">Translation</a></p>
<p>
<script type="text/javascript">
convey_source = "English";
</script>
<a href="http://removed link/" id="conveythis_image"
onmouseover="conveythis_show(this)"
onmouseout="conveythis_start_timer()"
onclick="return conveythis_prepWindow(this)">
<img src="http://no-stats5.conveythis.com/kern_e2/images/translate1.gif" alt="Free Translation"
style="border-style: none;" /> </a>
<script type="text/javascript" src="http://no-stats5.conveythis.com/kern_e2/javascript/e2_1.js"></script>
<!-- End ConveyThis Button -->
&nbsp; </p>
</div>
<!-- TemplateBeginEditable name="leftsidebar" -->
<div id="right_nav">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="../whydonate.html"><img src="../images/global/about_r14_c19.jpg" alt="Why Donate?" name="whydonate" width="117" height="27" id="Image1" onmouseover="MM_swapImage('Image1','','../images/global/about_r16_c19_f2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></p>
<p>&nbsp;</p>
<p><a href="../mailinglist.html"><img src="../images/global/about_r21_c19.jpg" alt="Mailing List" name="mailinglist" width="116" height="27" id="Image2" onmouseover="MM_swapImage('Image2','','../images/global/about_r21_c19_f2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></p>
</div>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="maincontent" -->
<div id="center_content">
<h1>about chs</h1>
<p>removed copy</p>
<p>&nbsp;</p>
<p>removed copy</p>
<p>&nbsp;</p>
<p>removed copy</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>

<!-- TemplateEndEditable --></div> <br class="clearfloat" />

<!-- #BeginLibraryItem "/Library/footer.lbi" -->
<link href="../site_styles.css/global.css" rel="stylesheet" type="text/css">
<div id="footer">
<ul>
<div class="imgfloat">
<li>
<a href="../index.html">Home</a> | <a href="../privacy.html">Privacy Policy</a> | <a href="../copyright.html">Copyright Info </a> | <a href="../terms.html">Terms of Use</a></li>
</div><p>Copyright &copy; 2010 | Community Human Services | P.O. Box 3076, Monterey, CA 93942 | 831-658-3811 </p>
</ul>
</div><!-- #EndLibraryItem --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>

 

Jon_King

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4152611 posted 2:26 am on Jun 15, 2010 (gmt 0)

To start with, you are missing the begin statement (right after the <HTML> tag:

<!-- InstanceBegin template="/Templates/yourtemplatename.dwt" codeOutsideHTMLIsLocked="false" -->

and its closing right before the </HTML> tag:

<!-- InstanceEnd -->

Jenelle



 
Msg#: 4152611 posted 4:56 pm on Jun 15, 2010 (gmt 0)

Thank you so much for looking at my problem! I will try your suggestion, but don't those statements go on the pages that link to the template and not the template itself? The html I pasted is the template itself...

I tried detaching the template from one of the pages, and it still doesn't show up. I also totally deleted the template from the server and re-loaded my local version. I verified that the location of the template on the server has not changed. Still no luck.

What's really baffling is that the templates and all the pages show up fine in DW! Although, several of the changes I've made to the template don't seem to have transferred over. Right before this happened, I deleted a spry menu bar from a non-editable area on the template (the left_nav div) and replaced it with a plain ul. I don't know why that would have caused a problem though.

Here is the html from one of the pages linked to the template (note: I accidentally named the right_nav editable area "leftsidebar" and then couldn't change it. The left_nav is not editable.):

<!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"><!-- InstanceBegin template="/Templates/internalpage.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Substance Abuse Services</title>
<!-- InstanceEndEditable -->
<link rel="index" href="removed link" />
<link rel="next" href="removed link" />
<link rel="prev" href="removed link" />
<link href="../site_styles.css/global.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css">
#left_nav, #right_nav { padding-top: 30px; }
#center_content { zoom: 1; padding-top: 15px; }
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script type="text/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];}}
}

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_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_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>

<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="../site_styles.css/print.css" rel="stylesheet" type="text/css" media="print" />
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-15831845-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>

<body onload="MM_preloadImages('../images/home/about_r1_c9_f2.jpg','../images/global/about_r16_c19_f2.jpg','../images/global/about_r21_c19_f2.jpg')">
<div id="container"><!-- #BeginLibraryItem "/Library/banner.lbi" -->
<link href="../site_styles.css/global.css" rel="stylesheet" type="text/css">
<script type="text/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];}}
}

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_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_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
<div id="banner">
<div class="logo" id="logo">
<p><a href="../index.html"><img src="../images/home/CHS-Logo-Vector.gif" alt="Community Human Services Home" /></a></p>
<p>&nbsp;</p>
</div>

<div class="bannernav">
<p><a href="../about/about.html">about</a> | <a href="../careers.html">careers</a> | <a href="../getinvolved.html">get involved</a> | <a href="../contact.html">contact</a></p>
<p>&nbsp;</p>
<div id="WLSearchBoxDiv">
<table align="right" cellpadding="0" cellspacing="0" style="width:214px; height:32px;">
<tr id="WLSearchBoxPlaceholder"><td style="width:100%; border:solid 1px #cccccc; border-right-style:none; padding-left:10px; padding-right:10px; vertical-align:middle;"><input id="WLSearchBoxInput" type="text" value="&#x4c;&#x6f;&#x61;&#x64;&#x69;&#x6e;&#x67;&#x2e;&#x2e;&#x2e;" disabled="disabled" style="background-image:url(http://www.bing.com/siteowner/s/siteowner/searchbox_background_k.png); background-position:right; background-repeat:no-repeat; font-family:Arial; font-size:14px; color:#000000; width:100%; border:none 0 transparent;"/></td><td style="border:solid 1px #cccccc; border-left-style:none; padding-left:0px; padding-right:3px;"><input id="WLSearchBoxButton" type="image" src="http://www.bing.com/siteowner/s/siteowner/searchbutton_normal_k.gif" style="border:none 0 transparent; height:24px; width:24px; vertical-align:top;"/></td></tr></table>
<script type="text/javascript" charset="utf-8">
var WLSearchBoxConfiguration=
{
"global":{
"serverDNS":"www.bing.com",
"market":"en-US"
},
"appearance":{
"autoHideTopControl":false,
"width":600,
"height":400,
"theme":"Blue"
},
"scopes":[
{
"type":"web",
"caption":"&#x43;&#x48;&#x53;",
"searchParam":"site:www.chservices.org"
}
,
{
"type":"web",
"caption":"&#x57;&#x65;&#x62;",
"searchParam":""
}
]
}
</script>
<script type="text/javascript" charset="utf-8" src="http://www.bing.com/bootstrap.js?market=en-US&ServId=SearchBox&ServId=SearchBoxWeb&Callback=WLSearchBoxScriptReady"></script>
</div>
<!-- Bing -->&nbsp;</p>
<p>
<script type="text/javascript">a2a_linkname="Community Human Services";a2a_linkurl="removed link";</script>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
&nbsp;</p>
</div>
<div id="#donatenow">
<p><a href="../donate.html"><img src="../images/home/about_r1_c9.jpg" alt="Donate Now" name="donatenow" width="101" id="donatenow" onclick="MM_swapImage('donatenow','','../images/home/about_r1_c9_f2.jpg',1)" onmouseout="MM_swapImgRestore()" onkeypress="MM_goToURL('parent','../donate.html');return document.MM_returnValue" /></a></p>
</div>
</div>
<!-- #EndLibraryItem -->


<div id="navigation">
<div id="topsprybar">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="substanceabuse.html">substance abuse</a>
<ul>
<li><a href="genesis.html">genesis house</a></li>
<li><a href="elm.html">elm house</a></li>
<li><a href="offmain.html">off main clinic</a></li>
</ul>
</li>
<li><a href="../mental_health/mentalhealth.html" class="MenuBarItemSubmenu">mental health</a>
<ul>
<li><a href="../mental_health/outpatient.html">outpatient counseling</a></li>
<li><a href="../mental_health/cats.html">c.a.t.s.</a></li>
<li><a href="../mental_health/dvam.html">domestic violence/<br />
anger management</a></li>
<li><a href="../mental_health/f2f.html">family to family</a></li>
<li><a href="../mental_health/pep.html">parent education</a></li>
<li><a href="../mental_health/sv.html">supervised visitation</a></li>
<li><a href="../mental_health/skst.html">superkids &amp; superteens</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="../youth_services/youthservices.html">youth services</a>
<ul>
<li><a href="../youth_services/safeplace.html">safe place</a> </li>
<li><a href="../youth_services/safepassage.html">safe passage</a></li>
<li><a href="../youth_services/daisy.html">d.a.i.s.y.</a></li>
</ul>
</li>
</ul>
</div>
<br class="clearfloat" />
</div>
<div id="main_content">
<div id="left_nav">
<ul>
<li><a href="../about/mission.html">mission</a><br />
<br />
</li>
<li><a href="../about/ourleaders.html">our leaders</a><br />
<br />
</li>
<li><a href="../about/community.html">chs in the community</a><br />
<br />
</li>
<li><a href="../about/ourpeople.html">our people</a><br />
<br />
</li>
<li><a href="../about/news.html">news &amp; events</a><br />
<br />
</li>
<li><a href="../about/links.html">links</a></li>
</ul>
<p>&nbsp;</p>
<br />
<p><!-- Begin ConveyThis Button -->
<p><a href="http://translation.conveythis.com/">Translation</a></p>
<p>
<script type="text/javascript">
convey_source = "English";
</script>
<a href="http://www.conveythis.com/" id="conveythis_image"
onmouseover="conveythis_show(this)"
onmouseout="conveythis_start_timer()"
onclick="return conveythis_prepWindow(this)">
<img src="http://no-stats5.conveythis.com/kern_e2/images/translate1.gif" alt="Free Translation"
style="border-style: none;" /> </a>
<script type="text/javascript" src="http://no-stats5.conveythis.com/kern_e2/javascript/e2_1.js"></script>
<!-- End ConveyThis Button -->
&nbsp; </p>
</div>
<!-- InstanceBeginEditable name="leftsidebar" -->
<div id="right_nav">
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="imgfloat">
<p><a href="../whydonate.html"><img src="../images/global/about_r14_c19.jpg" alt="Why Donate?" name="whydonate" width="117" height="27" id="Image1" onmouseover="MM_swapImage('Image1','','../images/global/about_r16_c19_f2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></p>
</div>
<p>&nbsp;</p>
<div class="imgfloat">
<p><a href="../mailinglist.html"><img src="../images/global/about_r21_c19.jpg" alt="Mailing List" name="mailinglist" width="116" height="27" id="Image2" onmouseover="MM_swapImage('Image2','','../images/global/about_r21_c19_f2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></p>
</div>
</div>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="maincontent" -->
<div id="center_content">
<h1>substance abuse services</h1>
<p>CHS' Substance Abuse Services offer residential and outpatient substance abuse counseling and recovery options. Affordable, comprehensive treatment is available for adults with drug and alcohol addictions. We provide treatment from the perspective that a firm foundation of physical, emotional and spiritual health is vital to continued recovery.</p>
<p>&nbsp;</p>
<h2>residential treatment</h2>
<p>&nbsp;</p>
<ul>
<li><a href="genesis.html">Genesis House</a> residential drug treatment for adults and perinatal<br />
<br />
</li>
<li><a href="elm.html">Elm House</a> transitional housing for single women in recovery</li>
</ul>
<p>&nbsp;</p>
<h2>methadone maintenance</h2>
<p>&nbsp;</p>
<ul>
<li><a href="offmain.html">Off Main Clinic</a> methadone maintenance, counseling and detoxification</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="imgfloatleft">
<p><a class="a2a_dd" href="http://www.addtoany.com/share_save?linkname=Community%20Human%20Services&amp;linkurl=www.chservices.org"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" alt="Share/Bookmark" width="171" height="16" border="0"/></a>
<script type="text/javascript">a2a_linkname="Community Human Services Substance Abuse Services";a2a_linkurl="www.chservices.org/substance_abuse/substanceabuse.html";</script>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
</p>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<!-- InstanceEndEditable --></div> <br class="clearfloat" />

<!-- #BeginLibraryItem "/Library/footer.lbi" -->
<link href="../site_styles.css/global.css" rel="stylesheet" type="text/css">
<div id="footer">
<ul>
<div class="imgfloat">
<li>
<a href="../index.html">Home</a> | <a href="../privacy.html">Privacy Policy</a> | <a href="../copyright.html">Copyright Info </a> | <a href="../terms.html">Terms of Use</a></li>
</div><p>Copyright &copy; 2010 | Community Human Services | P.O. Box 3076, Monterey, CA 93942 | 831-658-3811 </p>
</ul>
</div><!-- #EndLibraryItem --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>

Jenelle



 
Msg#: 4152611 posted 5:35 pm on Jun 15, 2010 (gmt 0)

Crisis averted! I just deleted the IE conditional comments, and now that the spry menu bar in left_nav is gone, center_content is staying where it's supposed to.

Thanks so much for your help!

Jon_King

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4152611 posted 6:35 pm on Jun 15, 2010 (gmt 0)

Yep some typos can drive you nuts. One thing of help can be the "Validate document" in the bottom pane of DW. It will often give feedback helping to track down the buggers.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved