This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Design View Doesn't Display HTML Correctly





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 Design View Doesn't Display HTML Correctly
sjeannet

2004-08-04, 11:14 pm

Hi,
I'm new to Dreamweaver but I have been maintaining my site for about a year.
A couple of days ago I opened Dreamweaver to update my pages and, to my horror,
all my contect except the page titles where blank. I quickly looked at the
HTML and surprisingly it appeared untouched. When I preview the page in IE it
looks fine so I know that the HTML is correct, but for some reason my design
view will not display the html that is in my page. Any suggestions will be
helpful.
Thanks

DiMa *TMM*

2004-08-04, 11:15 pm

sjeannet <webforumsuser@macromedia.com> wrote:
> Hi,
> I'm new to Dreamweaver but I have been maintaining my site for about
> a year. A couple of days ago I opened Dreamweaver to update my pages
> and, to my horror, all my contect except the page titles where blank.
> I quickly looked at the HTML and surprisingly it appeared untouched.
> When I preview the page in IE it looks fine so I know that the HTML
> is correct, but for some reason my design view will not display the
> html that is in my page. Any suggestions will be helpful.
> Thanks


Without seeing the actual code I can only venture a guess here, but my guess
is that the code is certainly NOT untouched and that the HTML is almost
certainly incorrect. Looking at a page in IE does not ensure that the html
is ok. Look at it in Netscape and if it's ok in there, you might be better
assured.

I'll guess something else, too: you have an unclosed tag somewhere. To find
out, run the validation check w/in DW and correct all mistakes. If the
problem persists, put the page online and run a W3C validation check. If the
problem STILL persists after fixing all errors, post back here with the code
and/or link to the problem page and we'll have a look.


--
--
DiMa
Team Macromedia Member for Dreamweaver MX
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www dot flyingtigerwebdesign dot com


sjeannet

2004-08-05, 4:15 am

Ok thanks I'll try what you suggested and get back to you with the results.
sjeannet

2004-08-05, 7:14 am

I tried to find the HTML problem but nothing I try seems to work. Here is the
code from one of the pages. Please tell me if you find anything wrong.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Contact Us</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body text="#000000" link="#0000FF" vlink="#FF0000" alink="#0000FF">
<h1 align="center"><font size="+7" face="Terminator Two, Georgia,
Courier"><em>Contact
Us </em></font></h1>
<hr>
<!-- #BeginLibraryItem "/Library/nav.lbi" --><!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>

</head>

<body>
<p align="center"><a href="index.html"><img src="images/nav/home_up.jpg"
width="150" height="36" hspace="1" border="0"></a>
<a href="whoWeAre.html"><img src="images/nav/who_up.jpg" width="150"
height="36" hspace="1" border="0"></a>
<a href="theTeam.html"><img src="images/nav/theTeam_up.jpg" width="150"
height="36" hspace="1" border="0"></a><a href="photos.html"><img
src="images/nav/photos_up.jpg" width="150" height="36" hspace="1"
border="0"></a>
<a href="construction.html"><img src="images/nav/construction_up.jpg"
width="150" height="36" hspace="1" border="0"></a>
<a href="contactUs.html"><img src="images/nav/contact_up.jpg" width="150"
height="36" hspace="1" border="0"></a>
<a href="beyond.html"><img src="images/nav/beyond_up.jpg" width="150"
height="36" hspace="1" border="0"></a>
</p></body>
</html>
<!-- #EndLibraryItem -->
<p align="left"><font size="+5">W</font>e are always pleased to hear comments,
questions, information, or what ever from YOU! Please take the time to
contact
us.</p>
<p align="justify">Please email the webmaster and organizer for the Top of the
World Underwater Robotics Team.</p>
<p align="justify">Sayre Jeannet<a href="mailto:sjeannet@navyseals.com"><img
src="images/email.gif" width="79" height="69" border="0"
align="texttop"></a></p>
<p align="justify"><font size="+5">O</font>r call me here in Fairbanks,
Alaska</p>
<p align="justify"><em><strong><font face="Geneva, Arial, Helvetica,
sans-serif">(907)452-3573</font></strong></em></p>
<p align="justify"><em><strong></strong></em></p>
<p align="justify"><em><strong><font face="Geneva, Arial, Helvetica,
sans-serif">
</font></strong></em></p>
</body>
</html>

Dan Vendel *GOF*

2004-08-05, 7:14 am

sjeannet wrote:

> I tried to find the HTML problem but nothing I try seems to work. Here is the
> code from one of the pages. Please tell me if you find anything wrong.


Sorry if I sound harsh, but if you make websites, I'm stumped that you
don't know the absolute basics, e.g. that a page is made of three
"blocks"; the head (starting <head> and ending </head> ) and the body
(starting <body> and ending </body> wrapped in the html tag (starting
<html> and ending </html> ).

Take a closer look at the page and you'll see that the library item has
several superfluous tags. Open that library item and delete from (and
including) line:
"-//W3C//DTD HTML 4.01 Transitional//EN">
and to (including):
<body>

Then you might want to study some CSS to format fonts (the font tag is
deprecated), etc

>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Contact Us</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
>
> <body text="#000000" link="#0000FF" vlink="#FF0000" alink="#0000FF">
> <h1 align="center"><font size="+7" face="Terminator Two, Georgia,
> Courier"><em>Contact
> Us </em></font></h1>
> <hr>
> <!-- #BeginLibraryItem "/Library/nav.lbi" --><!DOCTYPE HTML PUBLIC
> "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
>
> </head>
>
> <body>
> <p align="center"><a href="index.html"><img src="images/nav/home_up.jpg"
> width="150" height="36" hspace="1" border="0"></a>
> <a href="whoWeAre.html"><img src="images/nav/who_up.jpg" width="150"
> height="36" hspace="1" border="0"></a>
> <a href="theTeam.html"><img src="images/nav/theTeam_up.jpg" width="150"
> height="36" hspace="1" border="0"></a><a href="photos.html"><img
> src="images/nav/photos_up.jpg" width="150" height="36" hspace="1"
> border="0"></a>
> <a href="construction.html"><img src="images/nav/construction_up.jpg"
> width="150" height="36" hspace="1" border="0"></a>
> <a href="contactUs.html"><img src="images/nav/contact_up.jpg" width="150"
> height="36" hspace="1" border="0"></a>
> <a href="beyond.html"><img src="images/nav/beyond_up.jpg" width="150"
> height="36" hspace="1" border="0"></a>
> </p></body>
> </html>
> <!-- #EndLibraryItem -->
> <p align="left"><font size="+5">W</font>e are always pleased to hear comments,
> questions, information, or what ever from YOU! Please take the time to
> contact
> us.</p>
> <p align="justify">Please email the webmaster and organizer for the Top of the
> World Underwater Robotics Team.</p>
> <p align="justify">Sayre Jeannet<a href="mailto:sjeannet@navyseals.com"><img
> src="images/email.gif" width="79" height="69" border="0"
> align="texttop"></a></p>
> <p align="justify"><font size="+5">O</font>r call me here in Fairbanks,
> Alaska</p>
> <p align="justify"><em><strong><font face="Geneva, Arial, Helvetica,
> sans-serif">(907)452-3573</font></strong></em></p>
> <p align="justify"><em><strong></strong></em></p>
> <p align="justify"><em><strong><font face="Geneva, Arial, Helvetica,
> sans-serif">
> </font></strong></em></p>
> </body>
> </html>
>



--
Dan Vendel - *GOF*
Contact: http://www.proformica.com/en/contact.shtml
Formmail tutorial: http://www.proformica.com/en/formmail_tutorial.shtml
Nested tables: http://www.proformica.com/en/nested_table_demo.shtml
SEO: http://www.proformica.com/en/search...imization.shtml
SE Utility: http://www.proformica.com/en/advanced_web_ranking.shtml
Search Dreamweaver newsgroup: http://www.proformica.com/google.html
DiMa *TMM*

2004-08-05, 7:15 pm

Dan hit it right on the head - you've made an entier PAGE into a library
item. Please hit F1 and read up on Library items and you'll get a better
understanding of what went wrong. You might also want to study up on HTML. A
good source is www.w3schools.com. Click "Learn HTML" from the left menu.

--
--
DiMa
Team Macromedia Member for Dreamweaver MX
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www dot flyingtigerwebdesign dot com


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews