Welcome to WebmasterWorld Guest from 107.22.86.42

Forum Moderators: incrediBILL

Message Too Old, No Replies

netscape background/bgColor

netscape seem to cache previous page's body tag

     
11:01 am on Mar 26, 2001 (gmt 0)

New User

10+ Year Member

joined:July 22, 2002
posts:21
votes: 0


Has anyone seen this problem before?
I have a page with a layer (the layer has an external source) and I change "src" with navigation buttons on the "parent page". Some layer source-pages has a body background picture, others have just a bgColor in body-tag (using stylesheet).
When I change layer source from one page that has background picture to a page with bgcolor, the background picture on previous page overrides the background color specified on current page.

I've tried to solve it by..
1. specifying body background on page instead of relying on stylesheet
2. using meta tag nocache
3. using javascript to specify bgcolor on <Body onLoad=..

None of the above helps solve the problem.

/katarina

11:10 am on Mar 26, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Hi Katarina, and welcome to the forums!

Have you tried creating a 1x1 pixel gif in the color you want, and then defining that as the new background image? I think that would bump out the previous background image from the cache.

11:21 am on Mar 26, 2001 (gmt 0)

New User

10+ Year Member

joined:July 22, 2002
posts:21
votes: 0


Sort of - I made a one-colored picture the same size as the layer. That works, but of course making it 1x1 px is a lot smarter :-)

by the way - thanks for quick answer

/katarina

11:35 am on Mar 26, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


You're very welcome.

By the way, I've taken to always defining solid background colors with a gif. I feel it's a best practice. Many browsers don't render a defined hex color the same way they do a gif color, and on a 16-bit monitor you can get some ugly surprises.

Now your issue has given me one more reason to continue with this practice -- it may even be useful with pure white!

3:28 pm on Mar 27, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 11, 2000
posts:1477
votes: 0


Hello Katarina. I see in your profile that you are a Lotus Notes/Domino programmer. Would you by any chance happen to know something that might help Margareta in this discussion [webmasterworld.com] about publishing tools? The reason I ask is that I once saw a site where Lotus Notes seem to form the backbone of a publishing process involving dozens of non-html trained editors.