a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Lost background, header, footer, and navigation buttons back

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Lost background, header, footer, and navigation buttons back
Page: [1]
 
whitewateracing

 

Posts: 4
Joined: 9/9/2005
Status: offline

 
Lost background, header, footer, and navigation buttons... - 9/9/2005 15:39:26   
Our website is daveyhearn.com and we have been up for 18 months with FP 2002. Today I was looking into getting the html validated and doing my first HTML examining ( I have never edited directly in HTML, nor do I know much about it yet) in hopes of making the site display correctly in Firefox etc, as there is now text over text and text over photo galleries in some non-IE browsers.

I pasted in a DOCTYPE at the top of the index page in HTML view as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

I got this from http://www.alistapart.com/articles/doctype/

Hindsight tells me that I should have done this on a page deep in the website that does not matter much, but I unwisely did it on the homepage or index page. When I saved it the DOCTYPE I had added was shifted down below the top line for unknown reasons.

The site came up with a white background, no header and footer (I think that is what they are called, they are the same on every page) and I have lost the navigation buttons on the left of the homepage.

I went back and deleted the DOCTYPE that I had added before, and saved again, but the homepage still has the same problems: a white background, no header and footer and no navigation buttons.

Top 3 lines of index HTML look like this now:

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

<body leftmargin="20">

<head>

I have no backup of the index.htm so since I saved it there is no file to use to replace.

Normal and Preview views display all correctly, but I tried saving from Normal and the same problems exist.

All the other pages on the site still have everything showing and working, the problem is only on the homepage or index page.

Please help! Thanks in advance...
caz

 

Posts: 3626
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Lost background, header, footer, and navigation but... - 9/9/2005 15:51:34   
Do you have a url for us? Sometimes it's easier to help if we can see the problem.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to whitewateracing)
whitewateracing

 

Posts: 4
Joined: 9/9/2005
Status: offline

 
RE: Lost background, header, footer, and navigation but... - 9/9/2005 15:54:18   
http://www.daveyhearn.com/

Thanks for responding!

(in reply to caz)
whitewateracing

 

Posts: 4
Joined: 9/9/2005
Status: offline

 
RE: Lost background, header, footer, and navigation but... - 9/9/2005 17:45:24   
I was able to access an index.htm file on my other computer in FrontPage, offline, to see how the HTML differed from the version that was not showing Nav buttons, header and footer. I noticed that the <body> part of the HTML was above the <head> part, and shifted it down accordingly. This fixed the problem!

Somehow in HTML view when I cut and pasted and edited the top few lines, this <body> part of the HTML was relocated by the computer. (i did not do it!)

(in reply to whitewateracing)
caz

 

Posts: 3626
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Lost background, header, footer, and navigation but... - 9/9/2005 19:46:36   
line 135 column 148 - Error: <o:p> is not recognized!
line 141 column 1 - Error: <picture> is not recognized!
line 142 column 1 - Error: <picture> is not recognized!


From HTML Tidy:-

"Cause:

A tag is not recognized. It is not a known tag, in the W3c specification or a know Netscape or Internet Explorer proprietary extension..
Solution:

If it is not intended, remove the tag."

Essentially it is the proprietry tags generated by FP when using themes, cutting and pasting directly from other Office programs and/or working in the FP design view.

This line above your <head> : <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

gives the clue - remove that and as you've found your page doesn't work because the FP widgets like navigation, buttons etc aren't called.

So stand a chance of working in browsers other than IE your code needs to look like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
...etc.


I also removed the errors above especially the first one <o:p>. However the page is now a mess and needs a lot of work on it, using html to replace all the MS proprietary stuff. Which is quite a tangle to undo.

If you are serious about wishing to validate then you would have to work in code view to replicate what has been done in design view previously.I think it would be easier to start from scratch learning html and css, putting what you learn into practice with a brand new version of your site.

If you take this on then you will get a lot of help form this forum - and a lot of satisfaction for yourself when you produce pages that can be viewed in other browsers and vailidate. As a first step I would suggest that you get Firefox with the Web Developer extension, that will help you to clean up your code (and a lot of other things too:))

Good luck
Carol

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to whitewateracing)
whitewateracing

 

Posts: 4
Joined: 9/9/2005
Status: offline

 
RE: Lost background, header, footer, and navigation but... - 9/9/2005 20:30:49   
Thanks for the help!

(in reply to caz)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Microsoft FrontPage Help >> Lost background, header, footer, and navigation buttons back
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts