Skip to content Skip to sidebar Skip to footer

Dynamically Created Elements Lose Spacing

I have div a with two span elements:
My workspace <input id="edit-workspace-name" value="' + workspace_name + '" type="text">'+' '+ '<span id="submit-name" class="glyphicon glyphicon-ok"></span>'+' '+ '<span id="cancel-name" class="glyphicon glyphicon-remove"></span>'+' ');

Note: While whitespace is important the quantity of that whitespace isn't so any combination of tabs returns and spaces are always treated the same.


Post a Comment for "Dynamically Created Elements Lose Spacing"