Login Register

Button with showLabel="false" has first not the right size

I have some buttons which look like this:

<button dojoType="dijit.form.Button" onClick='save()' iconClass="saveIcon" showLabel="false">
   <span><b>Rich</b><i> Text</i> Test!</span>
</button>

I load this html snippet later, not with loading the site. I parse the node with dojo.parser.parse(node);
My problem is, that the button first has another size because of the span-tag. It takes a while until the button gets the correct size.
My iconClass:

.saveIcon {
   background-image: url(icons/save.gif);
   background-repeat: no-repeat;
   width: 20px;
   height: 20px;
}

Does anybody knows what the problem is?

Thanks a lot!

I have forgotten to mention:

I have forgotten to mention: the problem is only in mozilla firefox! In internet explorer the button size is the right one!