Welcome to WebmasterWorld Guest from 54.242.94.72

Forum Moderators: incrediBILL

Message Too Old, No Replies

netscape background/bgColor

netscape seem to cache previous page's body tag

     

katarina

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

10+ Year Member



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

tedster

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

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



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.

katarina

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

10+ Year Member



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

tedster

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

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



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!

rencke

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

WebmasterWorld Senior Member 10+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month