Click to See Complete Forum and Search --> : is it possible to hide part of a webpage (header) in an <iframe>


decibel
04-27-2005, 05:49 PM
hi, is it possible to hide part of a webpage (header) in an <iframe>?

i have an <iframe> and it helps me do research, however in the iframe window, the header of the page in the iframe just waste space, so i was wondering if it is possible to load the iframe with say the top "200px" not visible. I think ive seen this tactic used in make dhtml slide in menus.

also i would not want to be able to use the scrollbars to see that hidden top 200px, if possible:

heres my iframe:

<iframe src='https://www.siteofreference.com/member.asp?p=-1&g=%7B".$sessionid."%7D&d=&page=1&txtLastName=".$lname."&txtFirstName=&txtMemberID=&selHealthPlan=&txtYOB=&selGender=&btnSubmit=Search' height='600px' width='100%' scrollbars='yes'>
</iframe>

Fang
04-28-2005, 01:24 AM
margin-top:-200px;

decibel
04-28-2005, 01:43 PM
You are the man Fang! Thanks, worked perfectly!