Jump to content

firefox - no page background image, IE has image fine


Guest juju2

Recommended Posts

I've read the forums on all issues related to firefox not displaying a Page background image, and none of it seemed to relate to this problem.

I'm using Legend skin on 3.0.18. Have uploaded styleImages/backgrounds/pageBg.jpg which is a gradient image.

Site looks just fine in Internet Explorer, but in firefox the background image does NOT display. The Content background displays fine in both IE and firefox.

Here is the relevant code from my css:

body {

	margin: 5px;

	background-color: #000013;

	background-attachment: fixed;

	background-image: url(../styleImages/backgrounds/pageBg.jpg);

	background-repeat: repeat-x;

	background-position: top;

}

#pageSurround {

	width: 748px;

	margin: 0px auto;

	padding: 5px;

	border: 1px solid #000000;

	background-color: #FFFFFF;

}

#subSurround {

	border: 1px solid #303908;

	background-image: url(../styleImages/backgrounds/contentBg.jpg);

	background-repeat: repeat-x;

	background-position: bottom;

}

Any help offered would be much appreci :whistle: ated.

Link to comment
Share on other sites

URL?

Hi, Robsta. Thanks for jumping in to help. I sent you a message with my URL.

Looks like you have some dodgy code in front of the first line tag in both stylesheets. This is likely your problem. IE can read it as it's not so fussy. It's probably your editor causing it.
Link to comment
Share on other sites

URL?

Hi, Robsta. Thanks for jumping in to help. I sent you a message with my URL.

Looks like you have some dodgy code in front of the first line tag in both stylesheets. This is likely your problem. IE can read it as it's not so fussy. It's probably your editor causing it.

Right you are. Both css stylesheets were encoded in ANSI format. I just used notepad++ with format of UTF-8 without BOM and it now is just fine. Thank you so much for your help!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...