I'm developing a small website for a client.
nothing fancy, just some html and css and a few images, so I thought I'd put the files on my own website and use the frame forwarding of the registrar I used to buy the domain name to point requests to the files on my site.
say my site is www.mydomain.com, and the client's domain is www.myclientsdomain.com
I used the forwarding service to set it up so every request for www.myclientsdomain.com
is forwarded to www.mydomain.com/clients/myclient/
it works just fine, except for one thing: the background disappears when viewing it in IE.
If I open the files locally with the browser, both FF and IE show the background, no problem.
If I access www.mydomain.com/clients/myclient/index.html, buth FF and IE show it just fine as well.
BUT, if I go to www.myclientsdomain.com
, FF shows the background correctly, and IE gives me a WHITE background.
This is the CSS I used :
background-image: url("../graphics/bg1.png"), url("../graphics/bg2.png");
background-repeat: repeat-x, repeat;
I noticed that the registering company put some HTML around my code as a result of the frame forwarding, so that must be the problem.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<frameset rows="*,0" >
<frame noresize="" src="www.mydomain.com/clients/myclient"></frame>
but then why does FF show the background like I intented, and only IE has the problem?
I've used firebug to check out the style associated with the body tag, and the css is there.
In IE I've used IE Webdeveloper to check it, and the style is where I expect it.
So it seems the frame around it blocks the background, and only in IE.
Problem is also I don't have any influence on the frameset-frame code that is being put around my code, I can only edit my own HTML and CSS.
Is there a way to get the right background displayed?
If not, I'll have to buy a hosting package anyway so the need for frame forwarding is no longer there. But this seems a rather radical solution, and not so cost effective. :)