Having the exact same problem and haven’t been able to figure it out. I’ll let you know if I come up with a solution.
Did you ever figure out anymore information on this? I’m guessing that the WordPress permalinks are stripping out the spaces because it doesn’t understand that the variables are dynamic. So far this is the only thread I’ve been able to find the problem and any discussion on it is much appreciated. Thanks!
I know this is really old. I figured this out though…
What you want to do is wrap your gallery in a <div> in your HTML editor:
<div id="picture-gallery">
[gallery link="file" columns="5" icontag="div" id="44" itemtag="div"]
</div>
Then in your CSS file you would do something like…
#picture-gallery a:link
{
padding: 25px 0px;
}
Doing the above CSS mod will make your top/bottom padding 25px more and leave your right/left padding at 0.
Hope this helps! Here’s where I figured out the answer:
http://codex.wordpress.org/Gallery_Shortcode
To solve this problem, you just have to set the hover property = true:
Cufon.replace(‘h2’, { fontFamily: ‘Arial’, hover: true });
That should take care of it.