Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iFrames and positioning

Status
Not open for further replies.

kylebellamy

Programmer
Jan 24, 2002
398
US
I working with iframes in my latest site and have run into a strange little problem I knew you guys could help me solve.

The way the site is layed out is this:
Code:
_____________________________________________________
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|             SECTION A                             |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
_____________________________________________________   
|                                                   |
|                                                   |
|                                                   |
|                   SECTION B                       |
|                                                   |
|                                                   |
_____________________________________________________

This is a table with the main content iframed into Section A and the Flash Nav Bar in Section B. The problem is that I have everything contained in the top iframe nicely except for one page that contains my resume and by necessity, has to extend beyond the area of the frame.

If I enable scroll bars in the content iframe, then I get them on all the other pages which I don't want. So my other option is to make another page with an iframe and bring the resume into that with scroll bars. Seems to work pretty well except for the fact that the scroll bar is almost under the edge of the frame and all you can see of it is a hint that it's there.

So, what's my solution or is ther an alternative display technique that I can use. I can always go with the link and target a blank pages so I get a pop up but I'd rather keep it in the context of the page.

 
Have you tried "Scrolling=auto" in your <iframe> tag?

Wow JT that almost looked like you knew what you were doing!
 
Yeah, the problem is that the images I am using (this is for a cd-rom) are large and actually a little larger than the iframe so I have overlap. Also, I wanted the things to remain at size so that the viewer could not resize the page and mess up the layout.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top