This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > September 2004 > Re: unbalanced body tag
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: unbalanced body tag
|
|
| huchet 2004-09-18, 7:15 pm |
| I don't have one, but I put it up on another site so that you could look at it.
Problem is, I didn't transfer anything but the index.htm to the server so you
can't see the graphics or nav bar, but the code should still be there. Please
let me know if this will/won't suffice.
Thanks Murray!
Nicole
http://www.musc.edu/specialprograms/index%20doe.htm
| |
| huchet 2004-09-18, 11:15 pm |
| Please help before I rip my hair out. Anyone?
| |
|
| I'm not seeing the original question in the newsgroup version-
just an earlier reply with this link:
http://www.musc.edu/specialprograms/index%20doe.htm
if the error message is something about an unbalanced body tag- then taken
literally, first check the body tags.
there's an opening one.
there isn't a closing one.
</tr>
</table>
</html>
put a closing tag in where it belongs.
</tr>
</table>
</body>
</html>
> Please help before I rip my hair out. Anyone?
| |
| Murray *TMM* 2004-09-19, 4:14 am |
| This page is a template page that has been saved with an HTML extension.
That's just not going to work at all. Read DW's F1 help about how to use
Templates.
The page has no closing body tag - that's why you are getting the unbalanced
error -
<td height="36" align="left" valign="top" class="atom"><span
class="style2">This website was developed for the Department of Energy.<BR>
Please contact <A
href="mailto:nhuchet@comcast.net">nhuchet@comcast.net</A> with questions or
comments</span>. </td>
</tr>
</table>
</html>
Next time, look at the error message and then look at your 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
==================
"huchet" <webforumsuser@macromedia.com> wrote in message
news:cii8fk$1lq$1@forums.macromedia.com...
>I don't have one, but I put it up on another site so that you could look at
>it.
> Problem is, I didn't transfer anything but the index.htm to the server so
> you
> can't see the graphics or nav bar, but the code should still be there.
> Please
> let me know if this will/won't suffice.
> Thanks Murray!
> Nicole
> http://www.musc.edu/specialprograms/index%20doe.htm
>
| |
| huchet 2004-09-19, 12:15 pm |
| Hi
Thanks for your help.
Actually, it was none of those things. It appeared as a template page because
of the way that I had put it up on the test server. I apologize, Murray.
In reality, what had happened was that I had inserted a fireworks html into my
page, later pressed undo and then saved it. Later that day I went in and
inserted the fireworks html again. What I didn't realize is that undo doesn't
always REALLY undo. There were traces of my last nav bar html in the code.
When I looked at the code for the whole page instead of just where it was
telling me there was a unbalanced body tag error, I realized that I had TWO
body onLoad scripts. No wonder the program was confused! What I don't
understand is that when you use the undo function, is why doesn't it really
undo? How can I avoid this in the future?
Thanks,
Nicole
| |
| Murray *TMM* 2004-09-19, 12:15 pm |
| UNDO really does undo. Really.
--
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
==================
"huchet" <webforumsuser@macromedia.com> wrote in message
news:cijtoa$94o$1@forums.macromedia.com...
> Hi
> Thanks for your help.
> Actually, it was none of those things. It appeared as a template page
> because
> of the way that I had put it up on the test server. I apologize, Murray.
> In reality, what had happened was that I had inserted a fireworks html
> into my
> page, later pressed undo and then saved it. Later that day I went in and
> inserted the fireworks html again. What I didn't realize is that undo
> doesn't
> always REALLY undo. There were traces of my last nav bar html in the
> code.
> When I looked at the code for the whole page instead of just where it was
> telling me there was a unbalanced body tag error, I realized that I had
> TWO
> body onLoad scripts. No wonder the program was confused! What I don't
> understand is that when you use the undo function, is why doesn't it
> really
> undo? How can I avoid this in the future?
> Thanks,
> Nicole
>
| |
| huchet 2004-09-19, 12:15 pm |
| Hm. Guess it's just me then. I swear I've had this problem before, but maybe
I've just made the same mistake before though I had better figure out what the
mistake is for the future.
I appreciate all of your help, Murray. I can imagine what you mutter to
yourself while you are trying to help people like me. ;)
Nicole
| |
| Murray *TMM* 2004-09-19, 12:15 pm |
| You're welcome, Nicole. One way you could permanently solve these problems
would be to never use FW to write HTML, by the way....
--
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
==================
"huchet" <webforumsuser@macromedia.com> wrote in message
news:cijueo$9ka$1@forums.macromedia.com...
> Hm. Guess it's just me then. I swear I've had this problem before, but
> maybe
> I've just made the same mistake before though I had better figure out what
> the
> mistake is for the future.
> I appreciate all of your help, Murray. I can imagine what you mutter to
> yourself while you are trying to help people like me. ;)
> Nicole
>
| |
| huchet 2004-09-19, 12:15 pm |
| Murray,
I was making a disjointed rollover navigation bar in fireworks and
exporting/importing it into dreamweaver. Is there some way to do this without
using fireworks? I thought that was what fireworks was for. Obviously I'm
pretty new at this stuff so maybe I'm missing something. Is there a better way
around doing what I was trying to do?
Thanks,
Nicole
| |
| Murray *TMM* 2004-09-19, 12:15 pm |
| > I was making a disjointed rollover navigation bar in fireworks and
> exporting/importing it into dreamweaver. Is there some way to do this
> without
> using fireworks?
Of course. Make graphics in FW and apply web interactivity in DW.
> I thought that was what fireworks was for.
FW is an outstanding web graphics production machine that just
coincidentally happens to write HTML. Furthermore, if you don't know how to
a) slice your images effectively, and b) configure FW to write clean HTML,
it will produce HTML that accounts for 80% of the "HELP ME!" posts here and
on the FW forum.
In DW, place your FW graphics on the page, select each graphic, link it and
apply a swap image behavior to it, and you're done.
--
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
==================
"huchet" <webforumsuser@macromedia.com> wrote in message
news:cik3it$dcg$1@forums.macromedia.com...
> Murray,
> I was making a disjointed rollover navigation bar in fireworks and
> exporting/importing it into dreamweaver. Is there some way to do this
> without
> using fireworks? I thought that was what fireworks was for. Obviously
> I'm
> pretty new at this stuff so maybe I'm missing something. Is there a
> better way
> around doing what I was trying to do?
> Thanks,
> Nicole
>
| |
| huchet 2004-09-19, 12:15 pm |
| Cool. Thanks. I'll try to be cleaner about it next time!
Nicole
| |
| huchet 2004-09-19, 11:15 pm |
| Murray,
I redid my nav bar and added interactivity in DW as you suggested. Looks and
works great except that I am once again getting an "unbalanced body tag" error
in line 75. I am attaching the code for line 73 through 76. Can you help me
understand where the error is coming from? I don't have this site up on a url
yet and I am unable to email the page to you via this medium, but I am hoping
you might be able to see my problem in the code I am sending.
Thank you as usual,
Nicole
//-->
</script>
<body
onLoad="MM_preloadImages('/Navigation%20Bar/buttons/Home/Home_f3.jpg','/Navigati
on%20Bar/buttons/Home/Home_f2.jpg','/Navigation%20Bar/buttons/Home/Home_f4.jpg',
'/Navigation%20Bar/buttons/Professional%20Organizations/professional%20organizat
ions3.jpg','/Navigation%20Bar/buttons/Professional%20Organizations/professional%
20organizations2.jpg','/Navigation%20Bar/buttons/Professional%20Organizations/pr
ofessional%20organizations4.jpg','/Navigation%20Bar/Graphics/Disjointed%20rollov
er%20graphics/professional%20organizations.jpg','/Navigation%20Bar/buttons/Caree
r%20Opportunities/career%20opportunities3.jpg','/Navigation%20Bar/buttons/Career
%20Opportunities/career%20opportunities2.jpg','/Navigation%20Bar/buttons/Career%
20Opportunities/career%20opportunities4.jpg','/Navigation%20Bar/Graphics/Disjoin
ted%20rollover%20graphics/career%20opportunities.jpg','/Navigation%20Bar/buttons
/Scholarships%20and%20Fellowships/scholarships%20and%20fellowships3.jpg','/Navig
ation%20Bar/buttons/Scholarships%20and%20Fellowships/scholarships%20and%20fellow
ships2.jpg','/Navigation%20Bar/buttons/Scholarships%20and%20Fellowships/scholars
hips%20and%20fellowships4.jpg','/Navigation%20Bar/Graphics/Disjointed%20rollover
%20graphics/scholarships%20and%20fellowships.jpg','/Navigation%20Bar/buttons/Uni
versity%20programs/university%20programs3.jpg','/Navigation%20Bar/buttons/Univer
sity%20programs/university%20programs2.jpg','/Navigation%20Bar/buttons/Universit
y%20programs/university%20programs4.jpg','/Navigation%20Bar/Graphics/Disjointed%
20rollover%20graphics/university%20programs.jpg','/Navigation%20Bar/buttons/Cont
inuing%20Education/continuing%20education3.jpg','/Navigation%20Bar/buttons/Conti
nuing%20Education/continuing%20education2.jpg','/Navigation%20Bar/buttons/Contin
uing%20Education/continuing%20education4.jpg','/Navigation%20Bar/Graphics/Disjoi
nted%20rollover%20graphics/continuing%20education.jpg','/Navigation%20Bar/button
s/Internships/internships3.jpg','/Navigation%20Bar/buttons/Internships/internshi
ps2.jpg','/Navigation%20Bar/buttons/Internships/internships4.jpg','/Navigation%2
0Bar/Graphics/Disjointed%20rollover%20graphics/internships.jpg','/Navigation%20B
ar/buttons/FAQ%27s/faqs3.jpg','/Navigation%20Bar/buttons/FAQ%27s/faqs2.jpg','/Na
vigation%20Bar/buttons/FAQ%27s/faqs4.jpg','/Navigation%20Bar/Graphics/Disjointed
%20rollover%20graphics/faqs.jpg','/Navigation%20Bar/buttons/Message%20Board/mess
age%20board3.jpg','/Navigation%20Bar/buttons/Message%20Board/message%20board2.jp
g','/Navigation%20Bar/buttons/Message%20Board/message%20board4.jpg','/Navigation
%20Bar/Graphics/Disjointed%20rollover%20graphics/message%20board.jpg')">
<table width="856" border="1">
| |
| Murray *TMM* 2004-09-19, 11:16 pm |
| You can't win for losing.
The page has no <head> or </head>. While not absolutely required, it is
traditional and common to have those.... More importantly, DW will most
likely complain loudly without them.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- The <head> tag should go right here -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Nuclear Energy, Education, Research, and Careers</title>
....
</script>
<!-- The </head> tag should go right here -->
<body onLoad=
There is no </body> tag -
</tr>
</table>
<!-- The </body> tag should go right here -->
</html>
And for heaven's sakes fix the spaces in those filenames. It would be nice
to replace that navbar thing you have in there too, but that's for another
thread.
--
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
==================
"huchet" <webforumsuser@macromedia.com> wrote in message
news:cikvsp$5h8$1@forums.macromedia.com...
> Murray,
> Try this http://www.musc.edu/nnp/DOE/Templates/index.htm
> Graphics won't come up because I had to link it as an htm page to another
> site. I don't have a URL on the server yet.
> Thanks,
> Nicole
>
| |
| Murray *TMM* 2004-09-24, 12:17 pm |
| Great - let us know how you get on....
And don't mess in the code until you understand how it should work! 8)
--
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
==================
"huchet" <webforumsuser@macromedia.com> wrote in message
news:cil5c3$a57$1@forums.macromedia.com...
> Thanks, Murray. (hangs head)
> I'll try those out. I really appreciate all of your help yesterday and
> today.
> Nicole
> And I PROMISE to take the spaces out of my file/pathnames.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|