user (AT) domain (DOT) invalid posted something on 7/9/03 11:09 AM so i blathered about
to and fro:
Quote:
Actually, the page looks fine if I upload it with those display
problems. One example is http://www.drwhitaker.com/index_test.asp
There are definitely html comments showing the beginning and end of the
includes.
And the includes are not complete html files. They are only parts of
tables, rows, etc. Someone suggested defining the sites, but that did
not work. |
There's four opening <body> tags in that assembled file. Looking in source
in Dw- there's <table> tag highlighted in yellow- indicating syntax
problems.
also- unrelated, but noticed there's a problem with repeated <font><b> tags
around the bottom text menu items that should be cleaned up.
to sort out the includes-
Open one of the include files by itself.
example- the one that starts <!--right navigation include begins -->
delete the <body> tag from top of include file.
Now- make sure that it's a balanced block of code- that any table or other
tag opened in that file is closed in that include file.
remove any javascript functions from them- they belong in the head section
of the main file, not down in the body. You can use another include just for
js, or use a linked .js file to put all the js functions into.
repeat for all the includes.
You should end up with a final file that has no yellow highlights in dw's
code view or design view- and displays as it should.
DMX is fussier about code syntax than Dw4 was.
--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer