BlockUI centre aligned for horizontal and vertical

BlockUI centre aligned for horizontal and vertical

Hi everyone

Anyone here know of a way to get the message from the BlockUI plugin to be properly centre aligned, both horizontally and vertically?

Here's the CSS options available... http://www.malsup.com/jquery/block/#options

The default left position is 35% which is making my message to appear slightly to the right of the page because I have increased the width from the default 30%.

I've tried margin: '0px auto' in the CSS which is usually a trick of centre aligning a div block of a specific width.

Also the default top position is 40% and the demo to show taller content just involves adjusting that to 20% to start the box higher.

Anyone know if it's possible to get a 500px message box to be centred horizontally and vertically with BlockUI?

Cheers, B

EDIT: Ok I've got H alignment sorted. Turns out my class priorities were messed up. But vertical I'm not sure there's a way.