PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Design View - nothing Code View Everything
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Design View - nothing Code View Everything

Réponse
 
LinkBack Outils de la discussion
Vieux 13/06/2008, 23h29   #1
EmpireLandscaping
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Design View - nothing Code View Everything

I am VERY new to DW so please forgive my amateur knowledge.
My problem is that I was working on a PHP file that I was having a little
trouble with. I seemed to have fixed what I was trying to fix but the next
thing I knew the design view would only show the dotted line tables. It is not
even expanded and shows no content. However, the code is still fine and
viewable in the code section. I have searched the forums and read that
View/Style Rendering/Display Styles, was the fix for others. However, that was
already turned on for me. An added strange thing is that ALL my other php files
are displaying fine in both Code and Design views.
Maybe there is an issue with my code (no doubt there is!) and so I have pasted
it to this... if anyone sees something... Please let me know.
So very clueless.
<?php

$title = "Empire Gardening - Services";
include("header.php");

?>
<table class="content" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="0" colspan="2">
<td colspan="2" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="800" bordercolor="#996600" bgcolor="#99CC66"
class="pageName"><span class="style9">Services</span>&nbsp;<br /> </td>
</tr>
<tr><td colspan="2" height="15">&nbsp;</td></tr>
<tr>
<td width="340" height="36" rowspan="2" align="center"
class="subHeader"><img src="WSGrass_small.jpg" alt="Lawn Care" width="340"
height="224" border="0" /></td>
<td width="398" height="36" class="subHeader"><div align="center">Lawn
Care
</div></td>
</tr>
<tr>
<td valign="top" class="bodyText">[BULLET]
[BULLET]
[LI] Mowing</li>
[LI] Horizontal Trimming</li>
[LI]Vertical Trimming</li>
[LI] Aerating</li>
[LI] Power Raking</li>
[LI] Over Seed </li>
[/BULLET]
[/BULLET]
<blockquote>
<p>-Empire provides many levels of these services.</p>
</blockquote></td>
</tr>
</table>
<table width="800" height="0" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="340" height="36" rowspan="2" align="center"
class="subHeader"><img src="WSHedge_smallresize2.jpg" alt="pruning and
shearing" width="340" height="224" border="0" /></td>
<td width="398" height="36" class="subHeader"><div align="center">Pruning
and Shearing</div></td>
</div></td>
</tr>
<tr>
<td valign="top" class="bodyText"><blockquote>
<p align="justify">Pruning and shearing can have drastic affects on
the appearance and health of your plants. Empire uses shearing and pruning
technicques set by the standards of the BCLNA. Empire will prune and shear
plants to optimize appearance, as well as, health. Empire has the precision and
talent to give you beautiful and healthy plants throughout your property. </p>
</blockquote></td>
</tr>
</table>
<table width="800" height="0" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="340" height="36" rowspan="2" align="center"
class="subHeader"><img src="WSPondresize2.jpg" alt="Water Features" width="340"
height="224" border="0" /></div></td>
<td width="398" height="36" class="subHeader"><div align="center">Water
Features &amp; Landscape Construction
</div></td>
</tr>
<tr>
<td valign="top" class="bodyText"><blockquote>
<p align="justify">Whether you are looking for a relaxing pond with
a rippling fountain, or beautiful tiers Empire provides consultation for water
features and landscape construction. Please contact us to book an appointment
for an estimate. </p>
</blockquote></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="800">

<tr>
<td width="340" height="36" rowspan="2" align="center"
class="subHeader"><div align="center"><img src="WSTulips_small.jpg"
alt="Installations" width="340" height="224" border="0" /></div></td>
<td width="398" class="subHeader"><div align="center">Plantings
</div></td>
</tr>
<tr>
<td valign="top" class="bodyText"><blockquote>
<p align="justify">Empire can bring new life ro you property with
new plants, trees and shrubs to provide structure, privacy or shading. As well,
each season your garden can be customized with a display of annuals. We also
provide plants that will bring colour all year round. </p>
<p align="justify">&nbsp;</p>
</blockquote></td>
</tr>
</table></td>
<td width="20">&nbsp;</td>
</tr>
<tr>
<td width="312" height="0"></td>
<td width="624" height="0"></td>
<td width="20" height="0">&nbsp;</td>
<td width="18" height="0">&nbsp;</td>
<td width="5" height="0">&nbsp;</td>
</tr>
</table>

<?php

include("footer.php");

?>


  Réponse avec citation
Vieux 13/06/2008, 23h42   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Design View - nothing Code View Everything

What's in header.php?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"EmpireLandscaping" <webforumsuser@macromedia.com> wrote in message
news:g2usbj$abl$1@forums.macromedia.com...
>I am VERY new to DW so please forgive my amateur knowledge.
> My problem is that I was working on a PHP file that I was having a little
> trouble with. I seemed to have fixed what I was trying to fix but the next
> thing I knew the design view would only show the dotted line tables. It is
> not
> even expanded and shows no content. However, the code is still fine and
> viewable in the code section. I have searched the forums and read that
> View/Style Rendering/Display Styles, was the fix for others. However, that
> was
> already turned on for me. An added strange thing is that ALL my other php
> files
> are displaying fine in both Code and Design views.
> Maybe there is an issue with my code (no doubt there is!) and so I have
> pasted
> it to this... if anyone sees something... Please let me know.
> So very clueless.
> <?php
>
> $title = "Empire Gardening - Services";
> include("header.php");
>
> ?>
> <table class="content" border="0" cellspacing="0" cellpadding="0">
> <tr>
> <td width="0" colspan="2">
> <td colspan="2" valign="top">
> <table border="0" cellpadding="0" cellspacing="0">
> <tr>
> <td width="800" bordercolor="#996600" bgcolor="#99CC66"
> class="pageName"><span class="style9">Services</span>&nbsp;<br />
> </td>
> </tr>
> <tr><td colspan="2" height="15">&nbsp;</td></tr>
> <tr>
> <td width="340" height="36" rowspan="2" align="center"
> class="subHeader"><img src="WSGrass_small.jpg" alt="Lawn Care" width="340"
> height="224" border="0" /></td>
> <td width="398" height="36" class="subHeader"><div
> align="center">Lawn
> Care
> </div></td>
> </tr>
> <tr>
> <td valign="top" class="bodyText">[BULLET]
> [BULLET]
> [LI] Mowing</li>
> [LI] Horizontal Trimming</li>
> [LI]Vertical Trimming</li>
> [LI] Aerating</li>
> [LI] Power Raking</li>
> [LI] Over Seed </li>
> [/BULLET]
> [/BULLET]
> <blockquote>
> <p>-Empire provides many levels of these services.</p>
> </blockquote></td>
> </tr>
> </table>
> <table width="800" height="0" border="0" cellpadding="0" cellspacing="0">
> <tr>
> <td width="340" height="36" rowspan="2" align="center"
> class="subHeader"><img src="WSHedge_smallresize2.jpg" alt="pruning and
> shearing" width="340" height="224" border="0" /></td>
> <td width="398" height="36" class="subHeader"><div
> align="center">Pruning
> and Shearing</div></td>
> </div></td>
> </tr>
> <tr>
> <td valign="top" class="bodyText"><blockquote>
> <p align="justify">Pruning and shearing can have drastic affects
> on
> the appearance and health of your plants. Empire uses shearing and pruning
> technicques set by the standards of the BCLNA. Empire will prune and shear
> plants to optimize appearance, as well as, health. Empire has the
> precision and
> talent to give you beautiful and healthy plants throughout your property.
> </p>
> </blockquote></td>
> </tr>
> </table>
> <table width="800" height="0" border="0" cellpadding="2" cellspacing="0">
> <tr>
> <td width="340" height="36" rowspan="2" align="center"
> class="subHeader"><img src="WSPondresize2.jpg" alt="Water Features"
> width="340"
> height="224" border="0" /></div></td>
> <td width="398" height="36" class="subHeader"><div
> align="center">Water
> Features &amp; Landscape Construction
> </div></td>
> </tr>
> <tr>
> <td valign="top" class="bodyText"><blockquote>
> <p align="justify">Whether you are looking for a relaxing pond
> with
> a rippling fountain, or beautiful tiers Empire provides consultation for
> water
> features and landscape construction. Please contact us to book an
> appointment
> for an estimate. </p>
> </blockquote></td>
> </tr>
> </table>
> <table border="0" cellspacing="0" cellpadding="2" width="800">
>
> <tr>
> <td width="340" height="36" rowspan="2" align="center"
> class="subHeader"><div align="center"><img src="WSTulips_small.jpg"
> alt="Installations" width="340" height="224" border="0" /></div></td>
> <td width="398" class="subHeader"><div align="center">Plantings
> </div></td>
> </tr>
> <tr>
> <td valign="top" class="bodyText"><blockquote>
> <p align="justify">Empire can bring new life ro you property
> with
> new plants, trees and shrubs to provide structure, privacy or shading. As
> well,
> each season your garden can be customized with a display of annuals. We
> also
> provide plants that will bring colour all year round. </p>
> <p align="justify">&nbsp;</p>
> </blockquote></td>
> </tr>
> </table></td>
> <td width="20">&nbsp;</td>
> </tr>
> <tr>
> <td width="312" height="0"></td>
> <td width="624" height="0"></td>
> <td width="20" height="0">&nbsp;</td>
> <td width="18" height="0">&nbsp;</td>
> <td width="5" height="0">&nbsp;</td>
> </tr>
> </table>
>
> <?php
>
> include("footer.php");
>
> ?>
>
>


  Réponse avec citation
Vieux 14/06/2008, 00h03   #3
EmpireLandscaping
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Design View - nothing Code View Everything

Header.php is the top of the webpage. It is the logo and tagline... it was just an easy way to keep them all in sync.
  Réponse avec citation
Vieux 14/06/2008, 00h08   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Design View - nothing Code View Everything

Let's see the code in it, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"EmpireLandscaping" <webforumsuser@macromedia.com> wrote in message
news:g2uuc8$c79$1@forums.macromedia.com...
> Header.php is the top of the webpage. It is the logo and tagline... it was
> just an easy way to keep them all in sync.


  Réponse avec citation
Vieux 14/06/2008, 00h33   #5
EmpireLandscaping
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Design View - nothing Code View Everything

<!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>
<title><?php echo $title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="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","Septemb
er","October","November","December");
//Ensure correct for language. English is "January 1, 2004"
var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " +
d.getFullYear();
//--------------- END LOCALIZEABLE ---------------
</script>
</head>
<body>
<table class="layout" cellspacing="0px" cellpadding="0px">
<tr bgcolor="#D5EDB3">
<td colspan="3" rowspan="2"><img src="WSDew_small.jpg" width="375"
height="240" /></td>
<td height="273" colspan="3" id="logo" valign="middle" align="center"
nowrap="nowrap"><img src="../EmpireWebLogo2.png" width="619" height="221" />
</td>
<td width="5">&nbsp;</td>
</tr>

<tr bgcolor="#D5EDB3">
<td height="22" colspan="3" align="center" valign="top" class="style2"
id="tagline"><div align="center">Mother Nature's ing Hands</div></td>
<td width="5">&nbsp;</td>
</tr>

<tr>
<td colspan="7" bgcolor="#5C743D"><img src="mm_spacer.gif" alt=""
width="1" height="2" border="0" /></td>
</tr>

<tr>
<td colspan="7" bgcolor="#99CC66" background="mm_dashed_line.gif"><img
src="mm_dashed_line.gif" alt="line decor" width="4" height="3" border="0"
/></td>
</tr>

<tr bgcolor="#99CC66">
<td colspan="7" id="dateformat" height="20">&nbsp;</td>
</tr>
<tr>
<td colspan="7" bgcolor="#99CC66" background="mm_dashed_line.gif"><img
src="mm_dashed_line.gif" alt="line decor" width="4" height="3" border="0"
/></td>
</tr>

<tr>
<td colspan="7" bgcolor="#5C743D"><img src="mm_spacer.gif" alt=""
width="1" height="2" border="0" /></td>
</tr>
<tr>
<td width="167" valign="top" bgcolor="#5C743D">
<table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
<tr>
<td width="165">&nbsp;<br />
&nbsp;<br /></td>
</tr>
<tr>
<td width="165"><a href="index.php" class="navText">Home</a></td>
</tr>
<tr>
<td width="165"><a href="about.php" class="navText">About</a></td>
</tr>
<tr>
<td width="165"><a href="services.php"
class="navText">Services</a></td>
</tr>
<tr>
<td width="165"><a href="faq.php" class="navText">FAQ</a></td>
</tr>
<tr>
<td height="24"><span class="style1"><a
href="gardening-tips.php">Gardening Tips</a></span></td>
</tr>
<tr>
<td><a href="gallery.php">Gallery</a></td>
</tr>
<tr>
<td width="165"><a href="contact-us.php" class="navText">Contact
Us</a></td>
</tr>
</table>
</td>
<td colspan="6" valign="top" class="content-cell">

  Réponse avec citation
Vieux 14/06/2008, 11h51   #6
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Design View - nothing Code View Everything

There is your problem. If you want to continue working in DW, your include
files cannot contain <html>, <head>, or <body> tags.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"EmpireLandscaping" <webforumsuser@macromedia.com> wrote in message
news:g2v03f$dte$1@forums.macromedia.com...
> <!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>
> <title><?php echo $title ?></title>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <link rel="stylesheet" href="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","Septemb
> er","October","November","December");
> //Ensure correct for language. English is "January 1, 2004"
> var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " +
> d.getFullYear();
> //--------------- END LOCALIZEABLE ---------------
> </script>
> </head>
> <body>
> <table class="layout" cellspacing="0px" cellpadding="0px">
> <tr bgcolor="#D5EDB3">
> <td colspan="3" rowspan="2"><img src="WSDew_small.jpg" width="375"
> height="240" /></td>
> <td height="273" colspan="3" id="logo" valign="middle" align="center"
> nowrap="nowrap"><img src="../EmpireWebLogo2.png" width="619" height="221"
> />
> </td>
> <td width="5">&nbsp;</td>
> </tr>
>
> <tr bgcolor="#D5EDB3">
> <td height="22" colspan="3" align="center" valign="top" class="style2"
> id="tagline"><div align="center">Mother Nature's ing Hands</div></td>
> <td width="5">&nbsp;</td>
> </tr>
>
> <tr>
> <td colspan="7" bgcolor="#5C743D"><img src="mm_spacer.gif" alt=""
> width="1" height="2" border="0" /></td>
> </tr>
>
> <tr>
> <td colspan="7" bgcolor="#99CC66" background="mm_dashed_line.gif"><img
> src="mm_dashed_line.gif" alt="line decor" width="4" height="3" border="0"
> /></td>
> </tr>
>
> <tr bgcolor="#99CC66">
> <td colspan="7" id="dateformat" height="20">&nbsp;</td>
> </tr>
> <tr>
> <td colspan="7" bgcolor="#99CC66" background="mm_dashed_line.gif"><img
> src="mm_dashed_line.gif" alt="line decor" width="4" height="3" border="0"
> /></td>
> </tr>
>
> <tr>
> <td colspan="7" bgcolor="#5C743D"><img src="mm_spacer.gif" alt=""
> width="1" height="2" border="0" /></td>
> </tr>
> <tr>
> <td width="167" valign="top" bgcolor="#5C743D">
> <table border="0" cellspacing="0" cellpadding="0" width="165"
> id="navigation">
> <tr>
> <td width="165">&nbsp;<br />
> &nbsp;<br /></td>
> </tr>
> <tr>
> <td width="165"><a href="index.php"
> class="navText">Home</a></td>
> </tr>
> <tr>
> <td width="165"><a href="about.php"
> class="navText">About</a></td>
> </tr>
> <tr>
> <td width="165"><a href="services.php"
> class="navText">Services</a></td>
> </tr>
> <tr>
> <td width="165"><a href="faq.php" class="navText">FAQ</a></td>
> </tr>
> <tr>
> <td height="24"><span class="style1"><a
> href="gardening-tips.php">Gardening Tips</a></span></td>
> </tr>
> <tr>
> <td><a href="gallery.php">Gallery</a></td>
> </tr>
> <tr>
> <td width="165"><a href="contact-us.php" class="navText">Contact
> Us</a></td>
> </tr>
> </table>
> </td>
> <td colspan="6" valign="top" class="content-cell">
>


  Réponse avec citation
Vieux 20/06/2008, 17h19   #7
DizzDizzy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Design View - nothing Code View Everything

The information was usefull thank you
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h32.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,22218 seconds with 15 queries