[ic] IE 6.0.2 Errors On Empty Fields --- Fixed,
but another problem
Peter
peter at pajamian.dhs.org
Fri Oct 28 18:19:56 EDT 2005
On 10/28/2005 09:42 AM, Randy Just wrote:
> At 07:55 AM 10/28/2005, you wrote:
>
> <INPUT TYPE=checkbox NAME="quantity0"
> onClick="this.form.action='http://shop.mydomain.com/cgi-bin/cart/process'
> secure=1, this.form.submit()" VALUE=0>
>
> Once again Mozilla is OK with it, but IE is complaining.
Did you add an xhtml header to your interchange pages? If so that is
why IE is complaining. Interchange is not xhtml compliant and IE is
very strict about enfocing compliance in pages that claim to be xhtml.
In the above line to be valid xhtml input, type, name, onclick and value
all have to be lowercase, checkbox and 0 both have to be quoted, and
since it is a non-container tag it has to end with " />" (have a space
and a shash before the closing >.
In this case it is probably best to remove the line(s) that are telling
IE that the page is xhtml, otherwise you'll end up having to fix up all
sorts of little problems like this. Look for and remove the following
lines (or something similar):
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...and change this one to just a straight <html>:
<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
If you would rather leave it as xhtml then run your pages through this
checker to find any other problems with xhtml compliance:
<http://validator.w3.org/>
...for a tutorial on converting html to xhtml:
<http://www22.brinkster.com/beeandnee/techzone/articles/htmltoxhtml.asp>
Peter
More information about the interchange-users
mailing list