Match of the Millenium: IE vs. FF

September 17, 2007

Internet Explorer vs. Firefox

Imagine you want to watch a movie… Rocky IV for instance. Should the movie end differently in different tv’s? Should the russian win if you are watching the movie on a Panasonic? What if you’re watching it in a Sanyo?! No, it shouldn’t! And that’s because there are standards which are used by all television’s manufacturer to make their tv’s standard.

Maybe we should tell Internet Explorer’s and Firefox’s manufacturers that the WWW also has standards, because there are lots of differences on the rendering of the same html on both of them.

Let’s see an example that drove me nuts a few days ago: The center align, as simple as that.

As you may see for yourself, if you try aligning a table by

<table style=”text-align: center;”>

It’ll work on Internet Explorer, but not in Firefox! For Firefox you should use:

<table style=”text-align: -moz-center;”>

But this won’t work on Internet Explorer. UN-F**KING-BELIAVEABLE!!!

So, what you should do to make both of them work is:

<table style=”text-align: -moz-center; #text-align: center;”>

I don’t even know why this last thing works, but it does…

But, the question is, Why, Oh, Why does -moz-center even exists?!

One Response to “Match of the Millenium: IE vs. FF”

  1. Diego said

    You shouldn’t ask yourself things like:

    * Why we’re here?
    * What’s the meaning of life?
    * Why #text-align: center exists?
    * Who can I understand women?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: