text-align:center works in IE but not in Firefox

Thursday, April 3, 2008
Tags: ,

Comments[ 6 ]


Anonymous said...

Even simpler, use "margin:0 auto;" to align horizontally.

Anonymous said...

I have given up after more than 3 hours try to align right an element in firefox, then I thought google may have the answer. Thanks alot

Anonymous said...

Also doesn't work. Firefox sucks. There are a lot of things that Firefox cocks up.

But then there are always these biased two dimensional-thinkers. Microsoft sucks, so Explorer sucks, so Firefox is great. Well, Firefox is at least as crap as Explorer.

Andrew Leon said...

Do you have any idea what the Fuk you are you talking about?

sAeid mOhammad hAshem said...

see this post :
text-align: center Solution in Firefox

Bhavesh Amin said...

Use this style in your div class style.
{text-align: -moz-center;#text-align:center;}