Hi, This is a weird one. I have seen on some computers IE behaving very strangely showing websites almost devoid of any CSS at all. But not completely as the divs widths are shown correctly but the background images are absent and the font is default.
I have just shown a website mockup to a client as a background image to the body tag and she can’t see it.
What is the setting in the browser that does this?
This is not the usual problem with IE different interpretation of various HTML and CSS. This is something more basic.
That’s not a much of a web page; it’s just a background image and no content. But you’ve got an error in there anyway: an extraneous ‘">’ character pair after the last CSS declaration.
Could be some oddball setting in his/her browser. The current page (without the error) shows in IE7 and IE6 for me.
If the purpose is just to show a mockup, you could just include the image as an <img> tag in the foreground. That ought to work everywhere, unless the client has disabled images altogether.
That’s what I’d thought. It would be good to know what this oddball setting is. Yes, I’ve sent the mock-ups to her as <img> tags in the <body> so I hope she can see them now.
Sometimes, when you type in your css for the background image, you might forget that in the css there can not be a space between url( . It does not show up then in some browsers, other browsers might read it.
body {
background-color: #xxx;
background-image: url(Background-Images/xxRepeat.jpg);
}
Have you just tested with your own sites or is it all websites that have background images that she cannot see? It probably doesn’t help having an empty body either. It could be possible some form of content blocking is in place that considers the image dubious content, etc.
There were two issues. The first was my client which seems to be OK but the second has been on friends’ PCs where I’ve seen sites render in IE without background images and some styles but not totally without CSS. But it seems to be a one-off. Thanks.