Hallo Andreas,
Du vermengst Html, Css und JavaScript zu einem seltsamen Gemenge…
zeige doch mal was du schon hast, aus deinem Beispiel:
<div style='width:0; '>
<img src='Pictures/Open.png'
style='width:30px; height:32px; margin-right:10px; margin-top:4px; float:left'>" + Text + "</div>"
werde ich nicht schlau.
gruesse qx