4 replies [Last post]
Samus Aran
Offline
newbie
Last seen: 14 years 8 weeks ago
Joined: 2007-11-27
Posts: 3
Points: 0

Hi,

Here is the code:

The Nintendo Club - Home

body {
margin-left: 0px;
margin-top: 16px;
margin-right: 0px;
margin-bottom: 0px;

}
.style1 {font-size: 9px}
.bgimage {background:url(images/basic02_070529a.png);background-repeat:no-repeat;background-attachment: fixed; }




















Welcome to the official web page of the Nintendo Club, a group of fellow Super Smash Brothers players.


We are playing the following games on a weekly basis:


- Super Smash Brothers Melee (Gamecube)


- Super Smash Brothers Brawl (Wii)


The purpose of this website is to publish information about our team as well as videos of our battles.


 


 


Last modified: 11-25-2007 (MM-DD-YYYY)


All the content of this website is property of the respective owners.


The problem with it is that the cell background with position itself according to the table and not the cell, this same exact code is working under IE6 but not IE7, Opera and Firefox.

The page is:
http://songokuu.dyndns.org:8080/nintendo/home.php

Although the picture is the background for the cell it is positionned according to the whole table.

Am I doing something wrong?

Thanks.

Samus Aran
Offline
newbie
Last seen: 14 years 8 weeks ago
Joined: 2007-11-27
Posts: 3
Points: 0

I tried without CSS, using

I tried without CSS, using td background and the behaviour is the same.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 46 weeks 4 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

The fixed position is

The fixed position is relative to the browser's viewport, no matter to which element it's attached. As such, it remains in placed, though the rest of the page may scroll.

IE≤6 does not grok fixed background images except on <body>

Remove the "fixed", and all will act the same.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

hira kumar
hira kumar's picture
Offline
Enthusiast
kathmandu
Last seen: 12 years 9 weeks ago
kathmandu
Timezone: GMT+5.75
Joined: 2007-09-12
Posts: 55
Points: 3

solution for u

Remove background-attachment: fixed; from bgimage class

CSS 2.0 Creator

Samus Aran
Offline
newbie
Last seen: 14 years 8 weeks ago
Joined: 2007-11-27
Posts: 3
Points: 0

Thanks a lot to all, it

Thanks a lot to all, it worked.