View Full Version : Background image...


matthayball
09-10-2006, 09:06 PM
I'm nearing completion on my latest website project, and ive built all the structure around frames, for various reasons. Now, i need to add a background image to the entire page, ie it goes across all the frames, rather than just one page in an individual frame, any ideas anyone?

Just for reference, the frame layout is:

<frameset cols="*,800,*" frameborder="NO" border="0" framespacing="0" rows="*">
<frame src="blank.php" frameborder="NO" noresize scrolling="NO" marginwidth="0" marginheight="0" name="blank">

<frameset rows="97,*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame src="header.php" frameborder="NO" noresize scrolling="NO" marginwidth="0" marginheight="0" name="header">

<frameset cols="125,675" frameborder ="NO" border="0" framespacing="0" rows"*">


<frame name=menu src=menu.php?quoteid=$quoteid frameborder=NO scrolling=NO marginwidth=0 marginheight=15 name=menu>

<frame name=main src=home.php?quoteid=$quoteid frameborder=NO scrolling=AUTO marginwidth=5 marginheight=5 name=main>




</frameset>
</frameset>
<frame src="blank.php" scrolling="NO" marginwidth="0" marginheight="0" frameborder="NO" noresize name="blank">


</frameset>

Please help!

pb&j
09-10-2006, 11:05 PM
to go across all the frames, you have only two choices...

1. change to iframes instead of frames. means you'd have to re-do your layout.

2. take the image, split it up, and put the seperate images into the seperate framed page backgrounds as you mentioned in your posting.

there is no way to do it otherwise with real frames.

matthayball
10-10-2006, 03:08 PM
Ok...so how would i change this into iframes...



<frameset cols="*,800,*" frameborder="NO" border="0" framespacing="0" rows="*">
<frame src="blank.php" frameborder="NO" noresize scrolling="NO" marginwidth="0" marginheight="0" name="blank">

<frameset rows="97,*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame src="header.php" frameborder="NO" noresize scrolling="NO" marginwidth="0" marginheight="0" name="header">

<frameset cols="125,675" frameborder ="NO" border="0" framespacing="0" rows"*">


<frame name=menu src=menu.php?quoteid=$quoteid frameborder=NO scrolling=NO marginwidth=0 marginheight=15 name=menu>

<frame name=main src=home.php?quoteid=$quoteid frameborder=NO scrolling=AUTO marginwidth=5 marginheight=5 name=main>


</frameset>
</frameset>
<frame src="blank.php" scrolling="NO" marginwidth="0" marginheight="0" frameborder="NO" noresize name="blank">


</frameset>









im having a bit of trouble myself, many thanks, Matt