background

F

Frans

Can somebody tell me how to get the same background using
frame's in a site? What I mean is how to get frame's
transparant and how to get a background of a frame
displayed on the whole page without affecting the other
properties of the frame's. I'm not using a one color
background or something like that.
Thanks,
Frans
 
M

MD Websunlimited

Fran,

Each frame is a separate window that displays the background of the page that is loaded into it.
 
M

Murray

You cannot reliably do this. The only way to try would be to slice your
background so that each frame had its own piece of the background that fits
together in the frameset like a puzzle. But you'll go crazy trying to align
things....
 
T

Thomas A. Rowe

Here is an example of having a background cross frames:

Frameset:
http://www.ycoln-resources.com/kb/guides/features/graphics/_content/frame.htm

Individual Frames:
http://www.ycoln-resources.com/kb/guides/features/graphics/_content/logo.htm
http://www.ycoln-resources.com/kb/guides/features/graphics/_content/banner.htm
http://www.ycoln-resources.com/kb/guides/features/graphics/_content/sidebar.htm
http://www.ycoln-resources.com/kb/guides/features/graphics/_content/contents.htm

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
M

Murray

Don't try it in NN4x, however.

It just depends on how much effort you want to put into the task that would
not be a problem if you were not using frames in the first place. It is
rare that the use of frames is really a required element of a site. Given
the many (some intractable) issues that using frames create for both you and
your visitors, it's (in my opinion) an option to avoid.
 
T

Thomas A. Rowe

Murray,

What do you mean "Don't try it in NN4x, however."

Under Windows, my example displays correctly in NS3.04, NS4.08, and NS6.21

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
M

Murray

Thomas:

You're right - that does bear some clarification!

Netscape4x has the most bizarre frame boundary calculation that could be
imagined. It calculates ratios of intended frame dimensions factored by
available viewport and rounds fractions down. The result of this is that
there are certain dimensions that simply cannot be achieved. This means
that with a complex (or even moderately simple) background you just cannot
reach a seamless blending from one frame to another in this browser. Look
here to see a graph of the frame dimensions that cannot be achieved -

http://www.jshook.com/netscape_frames/

So - if you are trying to align a horizontal line across a vertical frame
boundary, or a vertical line across a horizontal frame boundary, you will be
OK since it doesn't matter where the boundary is placed. But if your
background image has "horizontal texture" you will see a clear demarkation
across a vertical boundary, and the same for "vertical texture" across a
horizontal boundary. The effect is dramatically exacerbated if you resize
the browser viewport while looking at the alignment (in NN4x).

You can see this on a very old page of mine, at this URI -
http://great-web-sights.com/tutorial/framesizes/Framesizetester.html

Browse there in Netscape4x and resize the viewport to see how large a
disparity you can get between the set dimensions and the actual ones (it
doesn't do anything interesting in contemporary browsers). And whatever you
do, don't look at the code (it's very old, as I said!).

Of course, if you aren't interested in supporting NN4x, then it's strictly
academic.

Does that help?
 
Top