align in <div>
Closed, ResolvedPublic

Assigned To
Authored By
Cappelletti
Dec 25 2002, 6:45 PM
Subscribers
None

Description

Description

> File "00003A38.html"; Line 20: Document type doesn't permit attribute
> ³align² within element ³<div>².

By
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
you declare to use 'XHTML 1.0 strict'.

But this is not what you are doing. The site uses several attributes that
are not contained in the 'strict' variant of XHTML 1.0.

Rather use (according to your coding)
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">

Fix

Unknown

Event Timeline

Problem fixed. <div> tag removed.