View Full Version : Beginner needs some help

12-03-2009, 09:36 PM

I've been trying to publish my site to my domain for some time now and am having no luck. Here are some of my problems:

- Images not linking up. My local and remote files are identical so I feel like my images should be there.

- Links not working. My sidebar rollovers aren't doing anything, mostly because they never show up.

- My entire template looks different in each browser I preview it in. It never looks like it does in Dreamweaver.

- Some of my pages are not able to be found when I try to preview. I've linked them to the buttons but when I try to preview it says they aren't on the server.

- My background image never shows up. I think there's something wrong with my code but I'm not savvy enough to fix it. I just made the site as a template, inserted my images, header and text and hoped for the best.

- Basic chaos. Nothing is working and my site is so simple, I don't understand why it won't ever publish.

If anyone can help with any of those problems I'd be forever thankful. You'd kind of be my hero.

12-03-2009, 09:43 PM
please post the code..

12-03-2009, 10:23 PM
Ok, but this is gonnna be messy.

this is from my homepage..i didn't write any..mainly because i don't yet understand how to:

<!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">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Sniff Avenue Home</title>
<style type="text/css">
.sylfaen {
font-family: sylfaen;
.sylfaen {
font-family: sylfaen;
body,td,th {
font-family: sylfaen;
body {
background-image: url(/images/bg_body.jpg);
background-repeat: repeat;
.size {
font-size: 10px;
color: #FFF;
.datestamp {
font-size: 12px;
<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];}
<link href="css/sniffave.css" rel="stylesheet" type="text/css" />

<body onload="MM_preloadImages('images/shopour2.gif','images/soapscause2.gif','images/ingredients2.gif','images/contactus2.gif','images/aboutus2.gif')">
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<th colspan="3" bgcolor="#FFFFFF" scope="col"><a href="file:///Macintosh HD/Users/kaitlinkolarik/Desktop/Sniff Ave/index.html"><img src="images/img_header.jpg" alt="header" width="850" height="127" border="0" /></a></th>
<th width="194" rowspan="2" align="center" valign="top" bgcolor="#FFFFFF" scope="row"><p><img src="images/topline.gif" width="180" height="19" alt="topline" /><a href="/about_us.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about us','','images/aboutus2.gif',1)"><img src="images/aboutus.gif" name="about us" width="180" height="29" border="0" id="about us" /></a><a href="/shop_products.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('shopproducts','','images/shopour2.gif',1)"><img src="images/shopour.gif" name="shopproducts" width="180" height="30" border="0" id="shopproducts" /></a><a href="/soaps_cause.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('soapscause','','images/soapscause2.gif',1)"><img src="images/soapscause.gif" name="soapscause" width="180" height="30" border="0" id="soapscause" /></a><a href="/ingredients.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ingredients','','images/ingredients2.gif',1)"><img src="images/ingredients.gif" name="ingredients" width="180" height="30" border="0" id="ingredients" /></a><a href="/contact_us.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact us','','images/contactus2.gif',1)"><img src="images/contactus.gif" name="contact us" width="180" height="31" border="0" id="contact us" /></a><img src="images/bottomline.gif" width="180" height="374" alt="bottomline" /></p></th>
<td width="572" height="5" bgcolor="#FFFFFF"><p align="right" class="datestamp">November 20, 2009</p> &nbsp;</td>
<td width="14" rowspan="3" bgcolor="#FFFFFF">&nbsp;</td>
<td rowspan="3" valign="top" bgcolor="#FFFFFF"><table width="345" border="0" align="center">
<td width="251"><img src="images/1.jpg" width="251" height="164" alt="pic1" /></td>
<td width="84"><img src="images/4.jpg" width="251" height="164" alt="pic4" /></td>
<td><div align="center"></div></td>
<th width="194" height="12" bgcolor="#FFFFFF" scope="row">&nbsp;</th>
<th height="23" bgcolor="#FFFFFF" scope="row">&nbsp;</th>
<td bgcolor="#FFFFFF">&nbsp;</td>
<table width="246" border="0" align="center">
<td width="240" height="16"><div align="center">
<p class="size">2009 Sniff Avenue. All rights reserved.</p>

<map name="Map" id="Map"><area shape="rect" coords="1,82,172,111" href="file:///Macintosh HD/Users/kaitlinkolarik/Desktop/Sniff Ave/soaps_cause.html" /><area shape="rect" coords="1,110,171,139" href="file:///Macintosh HD/Users/kaitlinkolarik/Desktop/Sniff Ave/contact_us.html" /><area shape="rect" coords="1,52,171,83" href="file:///Macintosh HD/Users/kaitlinkolarik/Desktop/Sniff Ave/shop_products.html" />
<area shape="rect" coords="1,23,171,52" href="file:///Macintosh HD/Users/kaitlinkolarik/Desktop/Sniff Ave/about_us.html" />

12-04-2009, 12:04 AM
href="file:///Macintosh HD/Users/kaitlinkolarik/Desktop/Sniff Ave/contact_us.html" />

links like this are pointing t a file on your computer.
check your site definition

should probably read
href="contact_us.html" />

12-04-2009, 03:45 PM
ok, so i should just change that link then? how do i do that? and why is my background not even showing up?

my tables don't even show up online sometimes...some pages do and some don't, but they're the same thing!! i don't understand...

12-04-2009, 04:06 PM
ok so now my site is working perfectly when i do the Live View, but when i preview it to a browser it looks exactly like it did before i edited it. and when i try to publish it to my site it still won't work.

Am i doing something wrong when publishing?

12-04-2009, 05:25 PM
Did you make a site definition for your site or not? If not then do so at 'manage sites'. If you upload the pages to your server then the paths will be correct according to your local.