How to center text in an inline-block span on lte firefox 2?

Posted by Knu on Stack Overflow See other posts from Stack Overflow or by Knu
Published on 2010-06-03T00:54:31Z Indexed on 2010/06/03 1:14 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

I have 3 spans inside a div.

  1. text-align:center isn't working (tried on the parent too)
  2. text-align: -moz-center neither (on ff2)
  3. i have to use spans
  4. no floats
  5. -moz-inline-box or -moz-inline-stack ?
  6. with -moz-inline-block it's working but the 2nd and 3rd spans clear left…

Anyone got an idea? (fixing #6 is an alternative)

© Stack Overflow or respective owner

Related posts about css

Related posts about firefox