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

What are use-cases for a coroutine?

use-case coroutine

The concept of a coroutine sounds very interesting, but I don't know, if it makes sense in a real productive environment? What are use-cases for coroutines, that can be solved more elegant, simpler...

Calling Fancybox from within .click()

jquery fancybox

Hi I have seen example code that makes no sense to me. On this stack Question at Fancybox - form submit and close it? the user has posted this code:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.