css and margins on labels and buttons

It looks like the margins don’t work properly when defined in a style class. Both labels on the attached screenprint have margins set at 3 pixels all around.

The right button is defined ‘normally’ in the properties. The left button has a css attached…

was there any answer to this
i seem to be getting similar problems where the style sheet does not seem to affect the borders

to make sure what you do:

2 buttons that have a margin specified in the property editor of 3,3,3,3

one of that button does have a css an the other one doesn’t

what is in the css? Also a border? Does it make a difference if there is a border defined or not?

i am not able to reproduce this behaviour with 2 buttons that both have the margin set and one also a style..

Can i have a sample?