Ok, firstly thanks, howver, I do still have 1 problem left.
The html code that I am creating is done via VBscript. The vbscript creates a file which contains the html that i need this bit of help with.
The problem is that the VBscript write the html to the file like this:
file.WriteLine ""<div id="""aaa""">stuff</div>""
I would like it be be like this:
file.WriteLine "<div id="aaa" style=""left:VARIABLE"">stuff</div>"