Re: map tag - xhtml validator

scripsit John Campbell:
 
> last week I ran one of the pages I'm working on:
> http://www.co.palm-beach.fl.us/erm/home.htm
> and was able to get a no errors xhtml 1.0 transitional approved mark.

> This week it's telling me I can't have my map tags.  the exact wording
> of the problem is this:

> "Error: element "map" not allowed here; check which elements this
> element may be contained within "

> and last I checked "map" was allowed in xhtml. any assistance in what
> the probelm is? Thanks

<map> is certainly allowed in XHTML, both Transitional and Strict.  It
is not, however, allowed to be a child of <table>.  For Transitional,
you can just close the table immediately before you open the <map>
element.  For Strict it would need to be put inside a block-level
container of some kind -- a <div> works nicely.

-- 
Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul

Received on Tuesday, 13 August 2002 13:40:34 UTC