public string GetHtmlStyle() { string style = "style=\""; if (this.Width != null) style += "width: "+this.Width.Replace(",", ".")+"; "; if (!style.EndsWith("; ")) style = ""; else style += "\""; //style += " border=\"1\""; return style; }