Page 1 of 1
CMS MLE header DTD [[solved]
Posted: Sat Oct 27, 2007 1:17 pm
by manurevah
this one might be of interest to Alby,
i just realised that i can't use two different templates for the same page/different language; hence they have the same
Code: Select all
<!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" xml:lang="en" >
so i'm trying to think out a simple way to have a EN and FR version, depending on the languague of the page. .. has anyone ran into this problem ?
Re: CMS MLE header DTD
Posted: Sat Oct 27, 2007 2:17 pm
by alby
manurevah wrote:
this one might be of interest to Alby,
Have you read MLE tips (link in my signature)?
Alby
Re: CMS MLE header DTD [solved]
Posted: Sat Oct 27, 2007 2:38 pm
by manurevah
AHA! thank you Alby.
i should "bookmark" your signature somewhere. . : ]
i am bad because i actually was posting/following the post that contained the answer to my question. i will just complete with:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//{$currlang}" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$currlang}" lang="{$currlang}">
this makes a complete nice header.
Re: CMS MLE header DTD [solved]
Posted: Sat Oct 27, 2007 3:26 pm
by alby
manurevah wrote:
AHA! thank you Alby.
i should "bookmark" your signature somewhere. . : ]
i am bad because i actually was posting/following the post that contained the answer to my question. i will just complete with:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//{$currlang}" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$currlang}" lang="{$currlang}">
this makes a complete nice header.
Check this because I think that DOCTYPE is EN only (from W3C):
if not this is better:
Please report this if this is wrong
Alby
Re: CMS MLE header DTD [[solved]
Posted: Sat Oct 27, 2007 3:37 pm
by manurevah
seems you are right (believe it or not, i am new to the making of web pages)
so
Code: Select all
<!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" xml:lang="{$currlang}" lang="{$currlang}">
and thanks for the "|upper" tip, i was wondering about that.