Is there a way to edit the doctype and html tags using NO10, 8 or 7? The
site in question is built in 7, and I have 8 and 10 as well, so could
migrate up. I cannot find any way to edit this tag in any version of NO.
My client was given some javascript code to display a floating SSL logo at
the bottom of every page. The problem is that the javascript code causes
the site background to dissappear in IE7, thus breaking the layout. The
company who gave us the code said to do this:
Change this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
TO:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I tested this fix by manually editing the published pages, and it does solve
the problem. However, I don't want to manually edit the site each time I
make a change to it! Sort of defeats the purpose of using NO!!! Any ideas?
More info:
Compare:
www.guitarcandy.com
to
www.guitarcandy.com/cot.asp
The background image that is not showing up in the second link above
is:
http://www.guitarcandy.com/assets/im...ackground3.jpg
The offending code that breaks the site is:
----in the head----
<script language="javascript" type="text/javascript">
//<![CDATA[
var cot_loc0=(window.location.protocol == "https:")?
"https://secure.comodo.net/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'"
type="text\/javascript">' + '<\/scr' + 'ipt>');
//]]>
</script>
---before the /body tag----
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script language="JavaScript" type="text/javascript">
COT("https://www.guitarcandy.com/images/secure_site.gif", "SC2", "none");
</script>
--
Thanks,
Carol
---
Carol Scheible
Key Concepts - publishing dynamic websites since 1995
(919) 280-4099 (mobile)
(919) 408-3065 ext 2 (home)
(206) 350-1864 (FAX)
web@sitepublish.com
www.sitepublish.com
--
Thanks,
Carol
---
Carol Scheible
Key Concepts - publishing dynamic websites since 1995
(919) 280-4099 (mobile)
(919) 408-3065 ext 2 (home)
(206) 350-1864 (FAX)
web@sitepublish.com
www.sitepublish.com