3 replies [Last post]
jchiesa
Offline
newbie
Last seen: 18 years 11 weeks ago
Joined: 2004-03-05
Posts: 2
Points: 0

I have an image on a cell in a frame that matches my top frame. If I scroll down the image on the cell moves and it doesn't match my top frame images. I need some code that will allow me to force images on the cell to stay on same position while the other cells on the right side and left side of it sroll! Do I make my self clear? Thanks!!

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 18 years 27 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Fixed Image on cell while scrolling down

No.

Do you have a link?

Regards
Day

The only way to learn is to do it yourself

jchiesa
Offline
newbie
Last seen: 18 years 11 weeks ago
Joined: 2004-03-05
Posts: 2
Points: 0

Fixed Image on cell while scrolling down

No I dont have a link.
I just want to make the image of a cell stay on screen when I scroll down.

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 18 years 27 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Fixed Image on cell while scrolling down

Its a bit harder without a link, because "a picture is worth a thousand words" and it is quite hard to fix a solution when you do not know what the problem is.

Also, please don't PM questions. That way everyone can help or be helped.

Quote:
Does this make sense to you>?
<td class="background: #00FF00 url(stars.gif) no-repeat fixed center center;">

I want the image(star) on that cell stay fixed while scrolling

1) Just because the image stays fixed within that cell, does not mean it won't scroll as the table will scroll. Or do you plan to have a scrollbar for that cell?

2) Cells and tables with background images seem to have problems ( have not done much of that myself so am on remembering that from other threads.

3) <td class="background: #00FF00 url(stars.gif) no-repeat fixed center center;"> is not correct

In laymans terms the "class" is defined as a set of CSS values within Style tags or within a stylesheet - like thus

.myclass{
background: #00FF00 url("stars.gif") no-repeat fixed center center;
}

hmmm not sure of the quotes but as you copied from w3schools and they do not have them I would leave them out.

In the body of the document you would have

td class="myclass">

But that is only one cell, and again from memory I think it breaks over different browsers.

Regards
Day

The only way to learn is to do it yourself