View Full Version : FF2 centering nightmare

12-16-2009, 05:20 PM

I'm having a nightmare with this. (Past and Present Buttons)

It works great centering the div in everything, except FF2.

If you click into the secondary category, it centers fine using the same divs and css in there. I can't work it out.

I've centered them using a container div set to display:inline-block; with text-align:center;

Any help, greatly appreciated.

12-16-2009, 05:29 PM
Hello markosaurus,
That's a dead link right now. I'll try it again later.

For now though this may or may not help.
You need 3 things to center an element:

DocType Declaration
An element with a width
That elements left/right margins set to auto

12-16-2009, 05:35 PM

That looks like an internal ip address to me....