473,545 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

doctype

Hi,

My page menu (Dynamic FX) where not working with this doctype<!DOCTYP E HTML
PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

but are working with this short form:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
??

Jean
Pierre
--
---
http://web.jeanpierredaviau.com
Jul 20 '05 #1
5 2687
> My page menu (Dynamic FX) where not working with this doctype<!DOCTYP E
HTML
PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

but are working with this short form:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">


You don't give a URL, but try putting the page through a validator, e.g.
http://validator.w3.org/. I think that you have errors somewhere on the
page.

The full doctype puts your browser into Standards mode, and any illegal code
will cause undesirable effects - in this case, the menu not working. The
short doctype puts your browser into Quirks mode, where the browser will
take a good guess at what you mean, and (in this case, presumably) makes the
menu work.

HTH,

Pete.
--

Peter Connolly | Macromedia Certified Dreamweaver MX Developer
http://www.acutecomputing.co.uk
Derby
UK
Jul 20 '05 #2
http://web.jeanpierredaviau.com

It is a pretty old page (7 years) .... that was build on the short DOCTYPE
version
Jul 20 '05 #3
"Jean Pierre Daviau" <jp******@video tron.ca> wrote in message
news:5A******** ************@wa gner.videotron. net...
http://web.jeanpierredaviau.com

It is a pretty old page (7 years) .... that was build on the short DOCTYPE
version

http://validator.w3.org/check?uri=ht...paintings4.htm

....23 errors. Several in the Javascript include areas, which may explain why
the long doctype causes your page to fail.

At a quick scan, there's nothing in the error list that would be too
difficult to fix. Once you have a clean validation, try it with the long
doctype - you'll probably find that the page now works.

HTH,

Pete.
--

Peter Connolly | Macromedia Certified Dreamweaver MX Developer
http://www.acutecomputing.co.uk
Derby
UK
Jul 20 '05 #4
there is no attribute "BORDERCOLO R" (explain...).
...ter" cellpadding="4" border="2" bordercolor="#C C9966">
^This is most commonly
caused by using vendor-specific attributes without setting the document type
appropriately. What is IExplorer6 doctype?
Jul 20 '05 #5
I took off the bordercolor
and used
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
http://validator.w3.org/check?uri=ht...om%2FTidy1.htm

The renamed page validate.
"Jean Pierre Daviau" <jp******@video tron.ca> wrote in message
news:Cn******** ************@wa gner.videotron. net...
there is no attribute "BORDERCOLO R" (explain...).
...ter" cellpadding="4" border="2" bordercolor="#C C9966">
^This is most commonly
caused by using vendor-specific attributes without setting the document type appropriately. What is IExplorer6 doctype?

Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4406
by: CMAR | last post by:
I create my website using Front Page 2000. I notice that none of my pages have a DocType statement at the top. I have read that if you want IE6 to use "Standards mode" rather than the "Quirks mode," which IE uses if there is no DocType, then you have to put the proper DocType statement at the top of every page. What is the recommended...
6
5160
by: Patrick | last post by:
Hi I am fairly new to CSS and the web.I am trying to build a site more to practice my skills than for the site itself. I have been focusing on CSS and try my best to make it work in I.E 6.0, Opera 7.23, Mozilla 1.4 and N.N. 7.1. My site was doing fine until i read i was supposed to keep everything validated so i entered a strict html 4.01...
2
14791
by: DartmanX | last post by:
I doubt this is possible, but I want to ask, just in case it is. I have a project going using Google Maps. This project spits out an HTML page template for people to post to their website and display a map. Most of the people doing this will have limited knowledge of HTML. I want to ensure that this page remains an XHTML 1.0 Transitional...
25
2693
by: Viken Karaguesian | last post by:
Hello all, I'm somewhat of a newbie to webscripting. I've made a couple of websites in the past with WYSIWYG software, but now I'm much more interested in manual scripting. I have some questions about DOCTYPE: 1. Is a doctype statement *required*, or is it just "strongly suggested"? I would probably be using a Transitional doctype. 2....
2
6584
by: PapaRandy | last post by:
Hello, I am trying to validate the following .py webpage as HTML (through W3C). I put: ----------------------------------------------------------------------------- print "Content-type: text/html; charset=utf-8"
24
9147
by: Jim Michaels | last post by:
I can't get any "universal" code working that tries to detect whether the document it's in is xhtml or html. I found this, which tells me I have a hill to climb with no equipment. http://javascript.about.com/library/bliebug.htm I was going to use the document.doctype property if I could, but apparently that isn't available unless I use...
6
7832
by: Rolf Welskes | last post by:
Hello, if I have for example: <table style="width: 100%; height: 100%;" border="1"> <tr> <td style="width: 100px">k </td> <td style="width: 100px">k </td> </tr>
0
8529
drhowarddrfine
by: drhowarddrfine | last post by:
The Doctype or DTD Many coders get confused by all the talk of doctypes and how they affect browsers and the display of their web pages. This article will get right to the point about doctypes and their use. Doctype is short for its full name "Document Type Definition", or DTD. If you pay attention to what those words mean, you will...
11
2709
by: rfr | last post by:
When I add a transitional doctype to the weather page on my community website, I loose certain Js scripts, but not all of them. This puzzles me. The main menu is powered by a js script and seems to function even with eh doctype. But, the floating menu doesn't function once I put a transitional doctype of the page. The js script that...
6
7933
by: WT | last post by:
Hello, I am searching for a way to generate automatically from codebehind the <!Doctype....for asp.net pages using .net 3.5 c# and vs2008. Subidiary question: if I do a server transfert in my codebehind, do I need any Doctype or html tags in the page ? Thanks CS
0
7499
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7943
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7456
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1919
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1044
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
743
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.