/    Sign up×
Community /Pin to ProfileBookmark

Style Problem

This is the style

[code]
.MenuHead
{
font-weight: bold;
font-size: 18px;
background-attachment: fixed;
background-image: url(Images/Menu_Head02.jpg);
width: 300px;
color: white;
background-repeat: no-repeat;
font-family: ‘Comic Sans MS’;
height: 10px;
text-align: center;
}
[/code]

In IE the image shows up
In FF the image is a no show.

Can any1 tell me why?

Thats it.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@lmf232sauthorDec 13.2005 — Well i set

background-attachment: scroll;

and now it works in both.

Why when i had it set to fixed did it not display?

Thanks
Copy linkTweet thisAlerts:
@bob871Dec 14.2005 — It works in IE because IE actually incorrectly displays the image in the wrong position. FireFox on the other hand does not and thus it is invisible in FireFox. When you fix an image to any element other than the BODY you strat to create compatibility problems. IE is more fogiving than the other browsers.
×

Success!

Help @lmf232s 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.5,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...