def dictToStyleText(style_dict):
    """
    Convert a dictionary into an SVG/CSS style attribute
    """

    style = ''
    for key in style_dict:
        style += "%s:%s;" % (key, style_dict[key])

    return style