MX 2004 spoils my code

MX 2004 spoils my code

Post by Tommy Thom » Fri, 19 Nov 2004 19:16:54


I ma reposting this message as I did not get a reply yet but I think this must
be quite an important issue for Macromedia to know about! Hi, Before I start -
this is what we are using. Contribute v3.0 Dreamweaver MX v 7.0.1 I have a
problem and it took me a while to figure out what was happening but I've sort
of figured out what is going wrong but do not know why or how to sort it.
Basically if you look at the page below it is functioning correctly with the
right navigation in place on the right, The page validates to HTML. I could
open this up in Contribute edit the page and publish no problem.
http://www.yqcomputer.com/ , if I
check out and open up the exact same file in my Dreamweaver MX 2004 the 'view'
of the page in Dreamweaver is 'wrong'. Quite often there is no text and just
the outline to a thin table across the page. When I would then save and reput
the page the right navigation was no longer in place but instead had 'jumped'
to the bottom of the screen. The page no longer validated to HTML 4.01 and the
validator at w3c was throwing up several errors about closing <td> tags etc.
See below for an example -
http://www.yqcomputer.com/
have any ideas here as this seems to be a big problem. I'm now going to see if
there is an updater for DW availalble that may cure the problem but thought I'd
make you aware of it anyway as it' obviously a bad flaw. Thanks Graham
 
 
 

MX 2004 spoils my code

Post by Murray *TM » Fri, 19 Nov 2004 21:06:27

Are you using includes? Do your include files also contain <html>, <head>,
or <body> tags?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.yqcomputer.com/ - Template Triage!
http://www.yqcomputer.com/ , Tutorials & Resources
http://www.yqcomputer.com/ - DW FAQs, Tutorials & Resources
http://www.yqcomputer.com/ (MM) Technotes
==================

 
 
 

MX 2004 spoils my code

Post by Tommy Thom » Thu, 25 Nov 2004 18:43:42

Hi Murray The page does use includes to pull in a header and footer. However,
these files do not contain <head> <body> tags. They are the same included files
as the file that validates to HTML 4.01 so I don't think the problem lies
there. The left and right navigation on the pages are Dreamweaver Library
items. Sorry it took me so long to reply - have been away for a few days.
Graham
 
 
 

MX 2004 spoils my code

Post by Murray *TM » Tue, 30 Nov 2004 22:01:50

Show me the code, please.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.yqcomputer.com/ - Template Triage!
http://www.yqcomputer.com/ , Tutorials & Resources
http://www.yqcomputer.com/ - DW FAQs, Tutorials & Resources
http://www.yqcomputer.com/ (MM) Technotes
==================
 
 
 

MX 2004 spoils my code

Post by Tommy Thom » Wed, 01 Dec 2004 20:51:13

//interviews.php - works fine <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01
Transitional//EN'> <html><!-- InstanceBegin
template='/Templates/undergrad.dwt.php' codeOutsideHTMLIsLocked='false' -->
<head> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
<!-- InstanceBeginEditable name='doctitle' --> <title>How to
Apply</title> <!-- InstanceEndEditable --> <!--
InstanceBeginEditable name='Meta Tags' --> <!-- InstanceEndEditable --> <!--
InstanceBeginEditable name='Add Script' --> <!-- InstanceEndEditable -->
<script language='php'> include
'/${PHP_INCLUDE_ROOT}/nav_bar_top/scripts_styles.htm' </script> </head> <body>
<?php include('/${PHP_INCLUDE_ROOT}/nav_bar_top/main_banner.htm'); ?> <!--
--> <script language='php'> include
'/${PHP_INCLUDE_ROOT}/nav_bar_top/navbar_study.htm' </script> <?php
include('/${PHP_INCLUDE_ROOT}/nav_bar_top/blue_line.htm'); ?> <table
width='100%' border='0' cellpadding='0' cellspacing='0' class='tableback'>
<tr> <td width='140' valign='top'> <table width='140' border='0'
cellspacing='0' cellpadding='0'> <tr> <!-- --> <td
align='left'><img src='/template_graphics/undergrad_headpic.jpg'
alt='Undergraduate Students' width='140' height='50'></td> </tr> </table>
<!-- --> <!-- #BeginLibraryItem '/Library/undergraduate.lbi'
--><table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr>
<td class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/index.php'>Undergraduate Home</a></td> </tr> <tr> <td
class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/course_info/index.php'>Course Information</a></td> </tr>
<tr> <td
class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/entry_reqs/index.php'>Entry Requirements</a></td> </tr>
<tr> <td
class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/apply/index.php'>How to Apply</a></td> </tr> <tr> <td
class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/campus_visit/index.php'>Campus Visit</a></td> </tr> <tr>
<td class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/views/acad-life.php'>Student Viewpoints</a></td> </tr>
<tr> <td
class='uni_nav_left'onmouseover='this.className='uni_nav_left_highlight''
onmouseout='this.className='uni_nav_left''><a
href='/undergrad/graduate/ryan.php'>Graduate Viewpoints</a> </td>
</tr> <tr> <td
class='uni_nav_left'o
 
 
 

MX 2004 spoils my code

Post by Tommy Thom » Wed, 01 Dec 2004 20:52:34

Sorry Murray - had to paste the code in this way as it didn't like it when I 'attached code'.

Thanks
Graham
 
 
 

MX 2004 spoils my code

Post by Murray *TM » Wed, 01 Dec 2004 21:00:01

A simple link to the page would work much better.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.yqcomputer.com/ - Template Triage!
http://www.yqcomputer.com/ , Tutorials & Resources
http://www.yqcomputer.com/ - DW FAQs, Tutorials & Resources
http://www.yqcomputer.com/ (MM) Technotes
==================
 
 
 

MX 2004 spoils my code

Post by Murray *TM » Wed, 01 Dec 2004 21:00:33

s this the actual code?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tommy Thomson" < XXXX@XXXXX.COM > wrote in message
news:cohmrh$p1p$ XXXX@XXXXX.COM ...


 
 
 

MX 2004 spoils my code

Post by Murray *TM » Thu, 02 Dec 2004 00:32:54

I'm not sure what you are referring to when you say "works", but for sure,
this is NOT going to work on either page -

<td
class="uni_nav_left"onmouseover="this.className='uni_nav_left_highlight'"

Note the missing space between "..._left" and "onmouseover".

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.yqcomputer.com/ - Template Triage!
http://www.yqcomputer.com/ , Tutorials & Resources
http://www.yqcomputer.com/ - DW FAQs, Tutorials & Resources
http://www.yqcomputer.com/ (MM) Technotes
==================
 
 
 

MX 2004 spoils my code

Post by Tommy Thom » Thu, 02 Dec 2004 01:48:09

Murray http://www.yqcomputer.com/
to HTML 4.01 Transitional and the right navigation appears where it should on
the right. What is happening is that if I open that same file in Dreamweaver
MX 2004 it will 'move' the right navigation to the bottom left of the page and
will no longer validate to HTML 4.01 Transitional. I've renamed the offending
file interviews2.php as in
http://www.yqcomputer.com/
Basically opening a file in Dreamweaver MX 2004 is 'corrupting' the code.
Graham