PDA

View Full Version : Help with Format problems.


John Foy
04-09-2009, 12:01 PM
Hello.

I am a brand new user of Dreamweaver.
I have just created my first 4 web pages which I am ready to upload to my new domain.

My web pages are stored on my computer in my documents. The look just fine like the image below:
http://img18.imageshack.us/my.php?image=goods.jpg

When I upload them or email them, the format changes to this! How come...

http://img18.imageshack.us/my.php?image=badformat.jpg

Any help or advice is appreciated.

John

Corrosive
04-09-2009, 12:05 PM
Hello.

I am a brand new user of Dreamweaver.
I have just created my first 4 web pages which I am ready to upload to my new domain.

My web pages are stored on my computer in my documents. The look just fine like the image below:
http://img18.imageshack.us/my.php?image=goods.jpg

When I upload them or email them, the format changes to this! How come...

http://img18.imageshack.us/my.php?image=badformat.jpg

Any help or advice is appreciated.

John

I really can't see any difference mate!

John Foy
04-09-2009, 12:07 PM
I posted the same link twice. Sorry.

Could you check again>?

Thanks

Corrosive
04-09-2009, 12:14 PM
I posted the same link twice. Sorry.

Could you check again>?

Thanks

Ha, ha. Yes! Now I see the difference. Without seeing a live version or any source code I would suggest that you have some links gone astray. Your images are missing and your text styles (maybe in a stylesheet?) are also incorrect.

Check some stuff. Have you defined your site correctly in Dreamweaver (Manage Sites)? Are the paths to images, styles etc. correct? Often new users end up trying to make a site live with image paths still pointing to their C Drives. Fine if you view locally but no good when viewed on the web as users won't have access to your C Drive!

Check all your paths/links and, if you still can't get it, post your code or a URL.

Cheers

John Foy
04-09-2009, 12:31 PM
Thanks for your reply.
I really have no clue what I am doing. I am going to start working through some tutorials now but do you see anything obvious in this code:

<!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">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>JOHNFOYPT.CO.UK</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_health_nutr.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
//--------------- LOCALIZEABLE GLOBALS ---------------
var d=new Date();
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
//Ensure correct for language. English is "January 1, 2004"
var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();
//--------------- END LOCALIZEABLE ---------------
</script>
<style type="text/css">
<!--
.style1 {
color: #2774BC
}
.style3 {
letter-spacing: .1em;
text-decoration: none;
font: 11px Arial, Helvetica, sans-serif;
line-height: 16px;
color: #2774BC;
}
body,td,th {
color: #2774BC;
}
a:link {
color: #2774BC;
}
a:hover {
color: #003366;
}
.style4 {color: #BDBDBD}
.style6 {color: #2774BC; font-size: 18px; }
.style7 {color: #666666}
.style8 {color: #CCCCCC}
.style9 {color: #FFFFFF; }
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<table width="74%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#D5EDB3">
<td colspan="3" rowspan="2" bgcolor="#FFFFFF"><img src="../logo.png" width="155" height="100" /></td>
<td height="61" colspan="3" align="center" valign="bottom" nowrap="nowrap" bgcolor="#FFFFFF" class="style1" id="logo"><span class="style6">JFPT - Changing Lives, One Day at a Time</span></td>
<td width="4" bgcolor="#FFFFFF">&nbsp;</td>
</tr>

<tr bgcolor="#D5EDB3">
<td height="45" colspan="3" align="center" valign="top" bgcolor="#FFFFFF" class="style4" id="tagline"><span class="style7">Just give us a call and see how we can help</span></td>
<td width="4" bgcolor="#FFFFFF">&nbsp;</td>
</tr>

<tr>
<td colspan="7" bgcolor="#FFFFFF"><img src="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
</tr>

<tr>
<td height="2" colspan="7" bgcolor="#FFFFFF"></td>
</tr>

<tr bgcolor="#2774BC">
<td height="20" colspan="7" bgcolor="#2774BC" class="style8 style8" id="dateformat">&nbsp;&nbsp;<script language="JavaScript" type="text/javascript">
document.write(TODAY); </script> </td>
</tr>


<tr>
<td colspan="7" bgcolor="#FFFFFF"><img src="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
</tr>

<tr>
<td width="166" height="490" valign="top" bgcolor="#CCCCCC">
<table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
<tr>
<td width="165">&nbsp;<br />
&nbsp;<br /></td>
</tr>
<tr>
<td><a href="/Index.html" class="style3"><span class="style1">Home</span></a></td>
</tr>
<tr>
<td><a href="/services.html" class="navText style1"><span class="style1">Services</span></a></td>
</tr>
<tr>
<td><a href="../Documents/My Received Files/Keltech Computing/Keltech Computing/www.thegymgroup.com" class="navText style1"><span class="style1">The Gym Group</span></a></td>
</tr>
<tr>
<td><a href="/About Us.html" class="navText style1"><span class="style1">About Us</span></a></td>
</tr>
<tr>
<td><a href="/contact.php" class="navText style1"><span class="style1">Contact</span></a></td>
</tr>

</table>
*<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br /> </td>
<td width="50"></td>
<td colspan="2" valign="top"><br />
&nbsp;<br />
&nbsp;<br />
<table border="0" cellspacing="0" cellpadding="0" width="519">
<tr>
<td colspan="2" class="pageName style1">Welcome to John Foy Personal Training</td>
</tr>

<tr>
<td colspan="2" class="bodyText"><p>Here at JFPT we offer a holistic and results driven approach to achieving your health &amp; fitness goals. Using the most cutting edge exercises and personalised nutritional programmes we will have you losing fat, toning up and living a happier and more productive lifestyle, quicker than you had ever dreamed possible.<br />
<br />
With over 10,000 hours of personal training experience we know what gets you the results you are looking for. Our success is due to a vital combination of:</p>
<ul type="disc">
<li><strong>Functional exercises</strong>&nbsp;including&nbsp;kettlebell training&nbsp;for rapid fat loss</li>
<li><strong>Nutritional programming</strong>&nbsp;based upon your&nbsp;metabolic type</li>
<li><strong>Motivation &amp; Realistic Goal Setting</strong>&nbsp;including 1/2 hour sessions</li>
</ul>
<p>We will take you through these facets of health and fitness, at a pace that suits you and in a way that will accomplish your goals in the shortest possible time. In fact, once we have agreed upon your goals we will&nbsp;100% Garauntee&nbsp;to achieve those results or you can have your money back no questions asked.<br />
<br />
We are all different on both the inside and the outside, we think, metabolise, stress, and move in different ways. What is good for one person can be a disaster for another. If you already have aches and pains then these will be addressed first so as not to cause any further injury. You will be treated as an individual and only after a series of comprehensive testing will a course of action be prescribed.</p>
<p>We will help you to achieve any of your health and fitness goals including.................</p></td>
</tr>
<tr>
<td width="240" class="bodyText"><ul>
<li>Weight Loss</li>
<li>Improved body shape</li>
<li>Increased strength</li>
<li>Body Building</li>
<li>Sport Specific Training</li>
<li>Boxing Pad work</li>
<li>Triathlon</li>
<li>Injury Rehabilitation</li>
<li>Illness Rehabilititation</li>
<li>1-2-1 Football Coaching</li>
<li>And much More...</li>
</ul>
</td>
<td width="279" class="bodyText"><div align="center"><img src="../logo.png" width="155" height="100" /></div></td>
</tr>
<tr>
<td colspan="2" class="bodyText">&nbsp;</td>
</tr>
</table>
*<br />
&nbsp;<br /> </td>
<td width="32"></td>
<td width="190" valign="top"><br />
&nbsp;<br />
<table border="0" cellspacing="0" cellpadding="0" width="190" id="leftcol">

<tr>
<td width="10"></td>
<td width="170" class="smallText"><br />
<p><span class="subHeader style1"><br />
</span></p>
<p><span class="subHeader style1">Overweight?</span><br />
90% of our clients come to us overweight so you are in good company. Don't worry, with specialist advice, weight loss can be achieved very quickly and very easily. We have had enourmous success with helping our clients to lose weight.</p>
<p><span class="subHeader style1">Out of Shape?</span><br />
Many people take the enourmous step of losing weight on their own through strict dieting. Whilst this method will help you lose weight, you will more than likely end up with a soft and saggy body. Here at JFPT, we can help you to efficiently tone your body back up to acheive that much desired toned and defined look. We call this the Hollywood Look.</p>
<p><span class="subHeader style1">Sick or Injured?</span><br />
Whether you have had a sporting injury, heart disease or even major surgery, our highly qualified Personal Trainers can have you back to your best in no time.<br />
&nbsp;<br />
</p></td>
<td width="10">&nbsp;</td>
</tr>
</table> </td>
<td width="4">&nbsp;</td>
</tr>
<tr>
<td width="166" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="50" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="67" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="468" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="32" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="190" bgcolor="#2774BC"><div align="right" class="style9">
<div align="center">Copyright 2009 JFPT </div>
</div></td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>

Corrosive
04-09-2009, 12:39 PM
I don't much like the look of this...

<link rel="stylesheet" href="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_health_nutr.css" type="text/css" />

It looks like I said and you have referenced files on your hard drive. They need to be relevant to your site structure. If this link is correct then I would try and avoid capital letters and spaces in file and folder names. I think you need to go and read the Dream Weaver manual and help files and then get a good book on Dream Weaver to go with it.

xristina
04-09-2009, 01:37 PM
try this one...


<!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">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>JOHNFOYPT.CO.UK</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_health_nutr.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
//--------------- LOCALIZEABLE GLOBALS ---------------
var d=new Date();
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
//Ensure correct for language. English is "January 1, 2004"
var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();
//--------------- END LOCALIZEABLE ---------------
</script>
<style type="text/css">
<!--
body{
color:#000000;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
}
.style1 {
color: #2774BC
}
.style3 {
letter-spacing: .1em;
text-decoration: none;
font: 11px Arial, Helvetica, sans-serif;
line-height: 16px;
color: #2774BC;
}
body,td,th {
color: #2774BC;
}
a:link {
color: #2774BC;
}
a:hover {
color: #003366;
}
.style4 {color: #BDBDBD}
.style6 {color: #2774BC; font-size: 18px; }
.style7 {color: #666666}
.style8 {color: #CCCCCC}
.style9 {color: #FFFFFF; }
.style10 {color: #000000}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<table width="74%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#D5EDB3">
<td colspan="3" rowspan="2" bgcolor="#FFFFFF"><img src="../logo.png" width="155" height="100" /></td>
<td height="61" colspan="3" align="center" valign="bottom" nowrap="nowrap" bgcolor="#FFFFFF" class="style1" id="logo"><span class="style6">JFPT - Changing Lives, One Day at a Time</span></td>
<td width="4" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr bgcolor="#D5EDB3">
<td height="45" colspan="3" align="center" valign="top" bgcolor="#FFFFFF" class="style4" id="tagline"><span class="style7">Just give us a call and see how we can help</span></td>
<td width="4" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td colspan="7" bgcolor="#FFFFFF"><img src="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
</tr>
<tr>
<td height="2" colspan="7" bgcolor="#FFFFFF"></td>
</tr>
<tr bgcolor="#2774BC">
<td height="20" colspan="7" bgcolor="#2774BC" class="style8 style8" id="dateformat">&nbsp;&nbsp;<script language="JavaScript" type="text/javascript">
document.write(TODAY); </script> </td>
</tr>

<tr>
<td colspan="7" bgcolor="#FFFFFF"><img src="../Documents/My Received Files/Keltech Computing/Keltech Computing/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
</tr>
<tr>
<td width="166" height="490" valign="top" bgcolor="#CCCCCC">
<table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
<tr>
<td width="165">&nbsp;<br />
&nbsp;<br /></td>
</tr>
<tr>
<td><a href="/Index.html" class="style3"><span class="style1">Home</span></a></td>
</tr>
<tr>
<td><a href="/services.html" class="navText style1"><span class="style1">Services</span></a></td>
</tr>
<tr>
<td><a href="../Documents/My Received Files/Keltech Computing/Keltech Computing/www.thegymgroup.com" class="navText style1"><span class="style1">The Gym Group</span></a></td>
</tr>
<tr>
<td><a href="/About Us.html" class="navText style1"><span class="style1">About Us</span></a></td>
</tr>
<tr>
<td><a href="/contact.php" class="navText style1"><span class="style1">Contact</span></a></td>
</tr>

</table>
*<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br /> </td>
<td width="50"></td>
<td colspan="2" valign="top"><br />
&nbsp;<br />
&nbsp;<br />
<table border="0" cellspacing="0" cellpadding="0" width="519">
<tr>
<td colspan="2" class="pageName style1">Welcome to John Foy Personal Training</td>
</tr>
<tr>
<td colspan="2" class="bodyText"><p class="style10">Here at JFPT we offer a holistic and results driven approach to achieving your health &amp; fitness goals. Using the most cutting edge exercises and personalised nutritional programmes we will have you losing fat, toning up and living a happier and more productive lifestyle, quicker than you had ever dreamed possible.<br />
<br />
With over 10,000 hours of personal training experience we know what gets you the results you are looking for. Our success is due to a vital combination of:</p>
<ul type="disc" class="style10">
<li><strong>Functional exercises</strong>&nbsp;including&nbsp;kettlebell training&nbsp;for rapid fat loss</li>
<li><strong>Nutritional programming</strong>&nbsp;based upon your&nbsp;metabolic type</li>
<li><strong>Motivation &amp; Realistic Goal Setting</strong>&nbsp;including 1/2 hour sessions</li>
</ul>
<p class="style10">We will take you through these facets of health and fitness, at a pace that suits you and in a way that will accomplish your goals in the shortest possible time. In fact, once we have agreed upon your goals we will&nbsp;100% Garauntee&nbsp;to achieve those results or you can have your money back no questions asked.<br />
<br />
We are all different on both the inside and the outside, we think, metabolise, stress, and move in different ways. What is good for one person can be a disaster for another. If you already have aches and pains then these will be addressed first so as not to cause any further injury. You will be treated as an individual and only after a series of comprehensive testing will a course of action be prescribed.</p>
<p>We will help you to achieve any of your health and fitness goals including.................</p></td>
</tr>
<tr>
<td width="240" class="bodyText"><ul>
<li class="style10">Weight Loss</li>
<li class="style10">Improved body shape</li>
<li class="style10">Increased strength</li>
<li class="style10">Body Building</li>
<li class="style10">Sport Specific Training</li>
<li class="style10">Boxing Pad work</li>
<li class="style10">Triathlon</li>
<li class="style10">Injury Rehabilitation</li>
<li class="style10">Illness Rehabilititation</li>
<li class="style10">1-2-1 Football Coaching</li>
<li class="style10">And much More...</li>
</ul>
</td>
<td width="279" class="bodyText"><div align="center"><img src="../logo.png" width="155" height="100" /></div></td>
</tr>
<tr>
<td colspan="2" class="bodyText">&nbsp;</td>
</tr>
</table>
*<br />
&nbsp;<br /> </td>
<td width="32"></td>
<td width="190" valign="top"><br />
&nbsp;<br />
<table border="0" cellspacing="0" cellpadding="0" width="190" id="leftcol">
<tr>
<td width="10"></td>
<td width="170" class="smallText"><br />
<p><span class="subHeader style1"><br />
</span></p>
<p><span class="subHeader style1">Overweight?</span><br />
<span class="style10">90% of our clients come to us overweight so you are in good company. Don't worry, with specialist advice, weight loss can be achieved very quickly and very easily. We have had enourmous success with helping our clients to lose weight.</span></p>
<p><span class="subHeader style1">Out of Shape?</span><br />
<span class="style10">Many people take the enourmous step of losing weight on their own through strict dieting. Whilst this method will help you lose weight, you will more than likely end up with a soft and saggy body. Here at JFPT, we can help you to efficiently tone your body back up to acheive that much desired toned and defined look. We call this the Hollywood Look.</span></p>
<p><span class="subHeader style1">Sick or Injured?</span><br />
<span class="style10">Whether you have had a sporting injury, heart disease or even major surgery, our highly qualified Personal Trainers can have you back to your best in no time.</span><br />
&nbsp;<br />
</p></td>
<td width="10">&nbsp;</td>
</tr>
</table> </td>
<td width="4">&nbsp;</td>
</tr>
<tr>
<td width="166" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="50" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="67" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="468" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="32" bgcolor="#2774BC"><span class="style1"></span></td>
<td width="190" bgcolor="#2774BC"><div align="right" class="style9">
<div align="center">Copyright 2009 JFPT </div>
</div></td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>