ID:1982069
 
(See the best response by Nadrew.)
Code:
A << browse("<body font=Tahoma background=effect.png>[text]</body>","window=deckEditor.cardinfo")


Problem description:
Doesn't seem to be printing a background image. the image is in the project folder and i've done it in a normal html files and it works fine.
Best response
You'll need to use browse_rsc() here.

A << browse_rsc('effect.png',"effect.png")


This will take the effect.png file from your game's resources and load it into the client's browser cache so it can be accessed as a local file. I recommend looking browse_rsc() up in the reference for more info.
Thanks that worked! :)
I got another problem now, mainly with css.
<body font=Tahoma style="background:url([background]); background-size: 80px 60px; background-repeat:no-repeat;">


I want the whole background to fit on the browser window its browsing in. Am I doing something wrong here?

EDIT: the variable "background" normally leads to the file of the background that I want to fit to the screen.
In response to DevDuelist
Instead of style="background", do either style=\"background\" or style='background'
I don't think thats the problem, the style works fine and the background appears. The thing that isn't working is background-size. At the moment its in pixels but I normally use the term cover which covers the whole window.
The background-size parameter is probably not supported by IE, at least not IE 7 which the browser will emulate by default. You can force IE to use newer features by adding a meta tag.

Add this in the <head> section of your HTML document:

<meta http-equiv="X-UA-Compatible" content="IE=edge">

And add this doctype to the top of your document:

<!DOCTYPE html>

Those two should force the internal IE browser to use your installed version rather than the emulated IE 7. Mind you, there are still all sorts of things IE doesn't support so that's fairly limited.
So I got it to work but I ham now having some issues.

http://imgur.com/WieImLh
First of all seen in the above image is when the text is smaller than the image size (Aka, doesn't go over the image boarder).

http://imgur.com/KAPi1MW
In this second image however, since the text has gone over the image's boarder, the image streches with it to the size it goes to.

http://imgur.com/KAPi1MW
Looking at this image, what I want it to do is take the background image (The Yellow) and strech it over the whole browser window. Here is my code that is producing this problem:

{"<!DOCTYPE html><head><meta http-equiv="X-UA-Compatible" content="IE=edge"></head><body font=Tahoma" style="background:url([insert image file name here]);background-size:cover;">"}