W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2004

Question about XHTML

From: feo <ulalah@terra.es>
Date: Mon, 12 Apr 2004 23:52:13 +0200
Message-ID: <000201c420d8$96346f20$5c9e4cd9@ZEUS>
To: <www-html-editor@w3.org>
I hope this is the right address to ask you this question:

I read the XHTML specification, and decided to translate a HTML project to XHTML. Once made all the changes required for this purpose, I put in the document code the label <!DOCTYPE> for the XHTML specification, and no matter whether I use strict DTD or transitional, the page layout gets disarranged, not obeying strictly the corresponding CSS, but I've found a way for using a DTD specification and a correct layout:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I think this a strange behavior. Isn't it?

Thank you.

F. Ortega
Received on Tuesday, 13 April 2004 03:44:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:52 UTC