RootsChat.Com
General => Technical Help => Topic started by: Chris in 1066Land on Thursday 13 October 05 17:29 BST (UK)
-
Hi there
Have just published my new Local & Family History Website via Rootschat
http://mathornmill.rootschat.net please be careful, it might crash your IE
But it would seem that people are having great problems getting in to it
On the advice of Johnathan, I used
http://validator.w3.org/
to see what the problem was; It came back with this - can anyone understand it please?
Revalidate With Options: Show Source Show Outline
Show Parse Tree ...no attributes
Validate error pages Verbose Output
Help on the options is available.
No DOCTYPE found! Attempting validation with HTML 4.01 Transitional. The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax. Validation has been performed using a default "fallback" Document Type Definition that closely resembles "HTML 4.01 Transitional", but the document will not be Valid until you have corrected this problem with the DOCTYPE Declaration.
Learn how to add a doctype to your document from our FAQ.
Namespace Found in non-XML Document Namespace "" found, but document type is not XML!
Character Encoding mismatch! The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element (windows-1252). I will use the value from the HTTP header (iso-8859-1) for this validation.
This page is not Valid (no Doctype found)!
Below are the results of attempting to parse this document with an SGML parser.
Error Line 1 column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
<html xmlns:v="urn:schemas-microsoft-com:vml"
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
Would appreciate some help
Chris in 1066
-
Whatever the possible faults in your website (and I've found at least one), it would take more than make to make my sturdy Macintosh crash!
The weird fonts in your menu don't exist on my machine, and I would imagine that they could upset certain browsers.
Incidentally, what kind of tool did you use to build that site? I took a glance at the source code, and it appears to be rather top-heavy. After all, your site looks like very ordinary HTML stuff.
Another detail: I don't like reading green on green.
William
-
Hi Chris,
I just looked at the source code for your site (Right-click, show source code) and saw there was no
<!doctype blah blah >, just as the validation says.
looking at RootsChat source code, the first line is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
on my site it's
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
I don't which is best for you, probably the second one.
If you have access to your source code, make a security copy,
- delete the line/s
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">
- then 'copy & paste' the above line to the top of your index page,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
- add a line <html>
- and upload again.
If it works do the same for all your pages. :)
If it doesn't, reload the saved copy and wait for somebody else to come up with an answer :(
By the way, it works fine on Firefox
Hope this does the trick,
Bob
ps did you use Word and "save to HTML" or FrontPage ??
Both do very top-heavy, bloated code.
-
No problems on Opera 8.5
Watermusic
-
DOCTYPE tags aren't really important for sites - I never use them ;D
It was mentioned earlier about strange fonts. Be careful what fonts you use because not all systems have the same fonts installed and any if you choose a font on your machine that isn't on someone else's then the browser will rollback to something else. This can make the page look out of balance and other sorts of things could happen. This might actually be the problem.
When I get back from work tonight I'll pull the page off the site and I'll go through the index file line by line and see if I can find anything that might be upsetting IE.
I'll post the results here.
-
At a quick peek here, remove the following:
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
b\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
Remove this:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">
and replace with this:
<html>
If you're NOT using XML (or don't know what XML is) then delete this:
<link rel=File-List href="Maythorn_files/filelist.xml">
And the more I scroll down through the code I think you've possibly saved the site out using the wrong option. How did you save it? You should be saving as "HTML" or "xHTML" and not "XML"
There could also be an option somewhere in the preferences perhaps that has XML ticked? Should be unticked if there is.
What did you use to make it?
-
Hi All
Thanks for all that help and advice - really appreciate it
My site was made using Microsoft Publisher from within Office 2003 professional - and I did not use any fancy fonts at all; just times new roman & Arial
Will try to correct it a bit later though
I am glad it works ok on some systems. (No problems on Opera 8.5
; it works fine on Firefox, etc)
Once again, thanks for all the help
Chris in 1066
Yippeee, post number 4000 :o ;D
-
Hi Chris,
First congratulations on 4000 posts - I bet most of them were answering queries - WELL DONE.
Took a chance and went to your site ;D ;D
Don't know whether you have already altered your site - but it runs fine on my Windows XP
A couple of points.
A few of the side panel pictures are not there.
The page with the photos of the Mill is fine - except for some reason very slow and jumpy - ie when I press page up it take a couple of seconds to do that.
Nice to see that we have another Cheshire/Macclesfield family on site.
Looks good otherwise.
Cheers
Keith
-
Hello Chris
No trouble with Mozilla. Very good, everything seems to work fine. Just one small cirticism, I do agree with a previous poster about the Green on green. Consider those who may have colour blindness problems.
Cheers
Reg
-
Or a monochrome monitor ;D
-
Hi Keith
Thanks for that vote of confidence, glad that it looks OK to you - my computer also runs xp professional.
As per yet, no changes have been made to it - Johnathan is having a look to see if he can spot what the main problems are.
The side panel picture does not for some reason show on any of the pages (it is a tree growing outof a book) so will have to rethink that strategy
The main picture page I agree is a bit jumpy, or was at first on my computer, but I thought it had settled down on mine (IBM Thinkcentre with 3gb Pentium 4 processor and 1 gb memory) - but wouldnt know how or where to change the pictures (jpg's) to make them load and scroll smoother.
Reggie
Unfortunately, I very much like the Green on Green, it looks both clean and smart; maybe I will have to find a darker shade for the text and perhaps a lighter shade for the background.
Zeb
I thought Monochrome monitors went out with the DoDo
Chris in 1066
-
Hi Keith
Thanks for that vote of confidence, glad that it looks OK to you - my computer also runs xp professional.
As per yet, no changes have been made to it - Johnathan is having a look to see if he can spot what the main problems are.
The side panel picture does not for some reason show on any of the pages (it is a tree growing outof a book) so will have to rethink that strategy
The main picture page I agree is a bit jumpy, or was at first on my computer, but I thought it had settled down on mine (IBM Thinkcentre with 3gb Pentium 4 processor and 1 gb memory) - but wouldnt know how or where to change the pictures (jpg's) to make them load and scroll smoother.
Reggie
Unfortunately, I very much like the Green on Green, it looks both clean and smart; maybe I will have to find a darker shade for the text and perhaps a lighter shade for the background.
Zeb
I thought Monochrome monitors went out with the DoDo
Chris in 1066
Chris
I can definately see the tree jumping out of the book on my computer. I run Xp and Mozilla - no trouble. I also ran IE and there was no difference. Another minor item is the connection to email. It doesn't link or, have you done that on purpose?
I take your point about the green text. I suppose I shouldn't criticise too much because my website is in brown (http://tyndale.rootschat.net/). Your site is very good and a lot of hard work has gone into it.
Cheers
Reg
-
When saving images out for use in web sites rule of thumb is quality setting 7 (middle if your package saves using a slider) gives best quality over file size. If your images has large areas of contrast (like black lettering on a white background) then look at the saved version and see if there is too much visible "hatching" around levels of detail - if there is save out at setting 8 and look again.
Problems with JPEG is that its a lossy format - that is bits are thrown away and if you save as quality 12 (max) the file will be huge. You could always use thumbnails of the images and make them open the full image in a new window and maybe wrap the text around them.
<a href="fullpicture.jpg" target="_blank"><img src="thumbnail.jpg" /></a>
Is there a tutorial on image formats and what to use, where and how? If not, I'll write one.
-
There is a topic here about
TIP: Adding images (and 'thumbnails') to web-sites
http://www.rootschat.com/forum/index.php/topic,47486.0.html
but it is not a proper tutorial, so, if you want to add something, Zeb, please do !
Bob