Problems with -moz-box-align: center

I am aligning the text of a paragraph in the middle of a box (to be centered between the top and the bottom) while the text is aligned to the right. This can be achieved with the new display: box and some other CSS3 properties.

Does anybody have an idea why -moz-box-align: center doesn't work like the -webkit one? This example looks as expected in Chrome but not in Firefox: http://jsfiddle.net/GBrRK/7/ Any idea is appreciated. Thanks a lot!

Answers


I believe I found your solution. Delete "float: left;". http://jsfiddle.net/GBrRK/39/

That's some unusual behaviour.


Need Your Help

Keep the files of two projects in a solution synchronized

c# .net visual-studio

Supposed I have a solution with two simple C# projects in it. If I added a .cs file to one project, is there any way to reflect this change in the other project?

Penetration testing tools

sql security sql-injection

We have hundreds of websites which were developed in asp, .net and java and we are paying lot of money for an external agency to do a penetration testing for our sites to check for security loophol...