Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Which file should I edit?
Thanks!
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
there must be something wrong in your Template and/or in Article. If there is everything 'clean', you will get a valid HTML 4.01 Page - maybe some 'Warnings' but it will be rendered by all Browsers.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Code: Select all
$content['page_start'] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
Code: Select all
$content['page_start'] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">';
Hi gtz,gtz wrote:Hello Kosse,
can you confirm this with the Doctype and AJAX?
If you look at the examples at http://script.aculo.us/, there are full Doctypes according to xhtml, some are just in a shortcut written way and some are even in basic HTML 4.
Gruß,
Götz
Hi Manuel, it "works" with XHTML 1.0, means you can see your pages fine but... with some content parts it doesn't VALIDATE (in W3C stricto senso)mmm wrote:should that means, the phpwcms doesn´t work correctly on XHTML 1.0? so all templates i have to write in HTML 4.01?
b.r.
manuel
Around line 153...mmm wrote:ok.
but i think, its better to optimize my site on html 4.01. so i would need the info, where i get access to this meta-tag "description", because my meta-tag description is written in xhtml... in index.php i can´t find the description-meta....
b.r.
manuel
Code: Select all
$content['page_start'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
$content['page_start'] .= "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">";
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">