View Full Version : mid frame spacing


jasonlilili
11-04-2004, 07:50 AM
hi there

i am a newbie to css and html so if someone could please help me.

i have a index file contain 3 frames.

--------------------
| top |
--------------------
| body |
| |
--------------------
| Bottom |
--------------------
the top and bottom frames a fixed in height, but i need to body frame to stretch depending on the amount of content, hence stretch the whole screen.
but at the moment image clips off when i reach the bottom of the body frame, or with a scroller bar(which i dont want) instead of stretching the body frame.
how can i change that??

i have included the basis of my code
<code>

<frameset cols="401,*, 40" framespacing='0' frameborder='0' border=0>

<frame frameborder='1' framespacing='0' src="top.htm" noresize scrolling='no' name="top"></frame>
<frame frameborder='1" framespacing='0' src="body.htm" name="center"></frame>
<frame frameborder='1" framespacing='0' src="bottom.htm" name="bottom"></frame>
</frameset>

</code>

thank you in advance
Jason

jasonlilili
11-04-2004, 08:48 AM
i start to think i am actually approaching it wrongly, i should have use frame at all?? (pls correct me if i am wrong) beacuse stretching will only occur within that frame, and if it can't stretch it will have a scroll bar. i want user to be albe to scroll the entire screen instead of section of the body, so i was hoping that the frame willl streching along with the whole screen, but i guess that's a wrong approach!
am i correct?

pb&j
11-04-2004, 01:12 PM
from your ideas, you may want to look into IFRAME instead of FRAME.
http://www.lissaexplains.com/frames.shtml#inline