/    Sign up×
Community /Pin to ProfileBookmark

CSS Background Issues in Firefox

I am currently working on converting my .asp website into a .php website and at the same time I am trying to update the appearance to make it look more crisp and professional.

I have used CSS to apply several different background images all at once for different corners and sides. In IE it works perfectly, however in Firefox the left repeating side image will not work.

Here is my CSS, let me know if I need to provide a sample source code for how I actually implemented it into the HTML.

[CODE]body {background-color: #BB9900}

.bkg1 {
background: #BB9900 transparent url(files/hsp/bkgdwn.bmp) repeat-y bottom left;
}
.bkg2 {
background: transparent url(files/hsp/bkghrzntl.bmp) repeat-x top left;
}
.bkg3{
background: transparent url(files/hsp/topleft.bmp) no-repeat top left;
}
.bkg4{
background: transparent url(files/hsp/tr.bmp) no-repeat top right;
}
.bkg5{
background: transparent url(files/hsp/bl.bmp) no-repeat bottom left;
}

div.nav {
position:absolute;
left:450px;
top: 160px;
}

div.main {
position:relative;
left:150px;
top: 210px;
}[/CODE]

And here is a working version of the website.

[url]www.am-wildlife.net[/url]

Notice if you look at it in IE all background images show as I wanted.

I am very new to CSS and have probably coded it poorly, if there is a better way to do this please let me know.

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@Major_PayneNov 03.2007 — Please correct your coding errors first. Your page doesn't even [B]validate[/B]. Just one [B]coding error for CSS[/B].

Firefox is a CSS2 compliant browser and meets the latest web standards (latest version is 2.0.0.9). IE and all other browsers do not. Design your pages to Firefox and make a separate CSS to use whatever hacks you need to get IE to parse your pages correctly. Not the other way around.

Ron
Copy linkTweet thisAlerts:
@cdp103188authorNov 03.2007 — I see, silly me. Thank you.
Copy linkTweet thisAlerts:
@drhowarddrfineNov 03.2007 — Firefox is a CSS2 compliant browser and meets the latest web standards (latest version is 2.0.0.9). IE and all other browsers do not.[/QUOTE]All browsers do a good job at CSS compliance, except IE, as stated. I have few issues with Opera or Safari. But for a list of what works and what doesn't, see my link below.
Copy linkTweet thisAlerts:
@Major_PayneNov 03.2007 — All browsers do a good job at CSS compliance, except IE, as stated. I have few issues with Opera or Safari. But for a list of what works and what doesn't, see my link below.[/QUOTE]But FF is the only totally CSS2 compliant browser. The others have made efforts to come closer to parsing pages using the latest web standards, but still fall short. IE is just the worse of the lot because it's designed to what Micro$oft wants in their browser.

Ron
×

Success!

Help @cdp103188 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...