CF doesn't care about the doctype. It's the browser you need to worry about.

Adrian
Building a database of ColdFusion errors at http://cferror.org/

-----Original Message-----
From: Gary Strommen
Sent: 07 February 2008 23:43
To: CF-Newbie
Subject: doctype options


I have  a coldfusion site.  I incorporated some javascript off the web (I do
not know java unfortunately).  I have been successful at the integration.
The java is being used to have a tooltip come up when the user hovers over
an image.  The tooltip is highly customizable and is driven by the database.
The only problem is that in IE6, a horizontal scroll bar appears when it is
not needed and it is screwing up the table and the tooltip function.  After
doing some research and finding that IE6 does have a bug that causes a
horizontal scrollbar and doing some testing.  I have found out that removing
the first line of code from my page, the
<!DOCTYPE HTML PUBLIC ....., that everything works fine.

My question is, are there any problems I should be aware of that might occur
if I don't have a doctype tag?

Second question, if I change the Doctype tag to a different tag (possibly
one found on this page: http://htmlhelp.com/tools/validator/doctype.html),
will that cause problems I might not be aware of?

Lastly, the line of code that I removed from my coldfusion page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
Is there another DOCTYPE that a coldfusion page can use or prefers?

Thank you in advance!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4060
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to