some html codes are not working on my IE8, but works fine on firefox.
one of them is:
<center></center>
the other one is the align property for images, such as align=”absmiddle”.
Why it is like this? is there any problem with my own IE, or is it global?
The
centerelement works on all browsers, but its meaning often differs from what authors expect. Besides, its effect may depend on “standards mode” vs. “quirks mode”, often differently on different browsers.The value
absmiddleis nonstandard, it is treated differently in different modes. Using thevertical-alignproperty in CSS works usually more consistently.To get more specific help, you need to show a document or URL where your problem appears. An entire document is needed, not just a snippet, because the mode of a browser depends on the doctype declaration.