KHTML or IE?

manu manu42 at free.fr
Fri Jun 7 15:47:59 BST 2002


Quoting "Christian A Strømmen [Number1/NumeroUno]" <number1 at kde.org>:

> When doing a <pre> text, and adding a <center> before the <pre> tag,
> shouldn't the <pre> text itself be centered?
> 
> Take a look at http://www.realityx.net
> 
> IE does this, but KHTML doesn't.. Who's correct?

Both are.
<center> elements are deprecated and should not be used anymore.
CSS allows you to achieve exactly the same goal by adding 
style="align: center;" to a block element.

BTW, your PRE *is* centered in Konqueror 2.2.2.

--
manu - manu42 at free.fr




More information about the kfm-devel mailing list