View Full Version : For frames


sisqoluv
04-15-2003, 05:48 PM
Hi. I searched the forum before I posted, but I didn't find an answer. I'm usually really good with frames, but I can't get this:

www27.brinkster.com/sisqoluv/layout.JPG

There's four frames. Also, I'm going to split the background into separate files. Is there a special code I need to keep them together when I place them in the frames? I use the CSS code that involves "bottom right" and etc. Problem is, what about the "top left" of the page? I'm having trouble getting my background the right size so it can line up with the frames. Is there any code I can use that will stretch the graphic according to the browser size? I noticed that on some framed sites, the background will stretch or condense to fit together perfectly when I adjust my browser size.


Thank you.

pb&j
04-15-2003, 07:22 PM
for the frames part, try this...

<HTML><HEAD><TITLE>title</TITLE></HEAD>
<FRAMESET ROWS="100,150,*">
<FRAME SRC="up.html" NAME="up">
<FRAME SRC="middle.html" NAME="middle">
<frameset cols="40%,60%">
<frame src="left.html" name="left">
<FRAME SRC="right.html" NAME="right">
</FRAMESET>
</frameset>
</HTML>

make adjustments to the size values as desired.

as to the backgrounds, that gets a bit trickier. considering frames are showing multiple different pages at the same time, your idea is to splice the main large image into 4 sections, then placing the correct background into the individual pages being shown by the frames. it can be done, but may be difficult to get the right effect, especially when it comes to different screen resolutions visiting your site.