Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Ok, here's the situation,
I want a page with 3 frames, top, middle and bottom. All of these 3 frames will have no scrollbar.
BUT, i want the scrollbar to appear on the main html page that contains the 3 frames.
Is it possible ?
Thank you very much.
Zenno

Apparently, you havent even taken the 2 minutes needed to test this. Yes, it is possible - in fact, without some intervention, the main page would always have scrollbars (only active if the content doesn't fit the page).
Michael J

I think what he is asking is if you can make the frameset page scroll all three frames as one page. I have never tried it so I don't know if you can. If it were me, I would use tables instead of frames. I know this way would work for you.

Sorry for my abruptness. Instead of a traditional frameset, you can use iFrames. be sure to set the margin of the page to 0 or else the frames will not fill the page. Copy and paste the following into an html page to see an example:
<HTML>
<HEAD>
<TITLE>Iframe Example</TITLE>
</HEAD>
<body style=margin:0px;>
<IFRAME SRC=http://www.yahoo.com WIDTH=100% height=300 scrolling=no></IFRAME>
<IFRAME SRC=http://www.google.com WIDTH=100% height=300 scrolling=no></IFRAME>
<IFRAME SRC=http://www.computing.net WIDTH=100% height=300 scrolling=no></IFRAME>
</body>
</HTML>Michael J

Thank you for your responses.
Actually, i thought of iframes to do this but since it's only compatible with IE, i hesitated.
Also, the reason i didn't want to use tables is because it will not be practical for i wanted to do.
I'm designing a web site in Photoshop and image ready. The main page contains several sections. I want to be able to add sections in the future directly into the middle frame of my frameset without having to update the content of the top and bottom section. Much more easier and faster than having to redo everything in photoshop, all the displacement, spacing, etc.
So i guess, i will use iframe after all.
Thanks guys.
Zenno

No Zeno. I wish you would have explained that originally. There are much better ways to accomplish what you are after. But first, let me get out my soap box. You should refrain from using "images" for site design/navigation. They take up unnecessary bandwidth and against the idea of separating content from design. Learn how to use CSS properly and your pages will be MUCH more flexible. For example if you have an image button for your "home" page and you need to change the background color, you need to create a new image. With CSS, you would just need to change the color property within the CSS.
Anyway, back to your issue. If you are only working with HTML, you can use ssi (server side include) pages to include content to your page using an external file. So, create header and footer files and include tehm at the top and bottom of your pages. Do a google search for proper format and implementation.
If you can use a scripting language, such as PHP, this is just as easy with a greater amount of flexibility. You could conditionally include different headers/footers depending upon which page is loading.
Michael J

I'm using images for my website because graphically, it's much more easy to create great looking webpage with everything in the right place very easily because as you know imageready created a table with all the pictures with cell exactly where i want them to be. In the example you are giving about the background color for the home button, the only way to acomplish this is to use gif which are limited to 256 colors. And what about if my home button is using a drop shadow or a sophisticated gradient to blend with the background, using css i don't think this will work. I'm willing to let go a little more bandwith to have the pleasure of enjoying a great looking page.
Also, I don't know php. sorry.
As for ssi, this is new to me but as i can see in the following link:
http://bignosebird.com/ssi.shtml
It sures deserves my attention.Thanks for all your input. And the reason i did not explain right away exactly what i wanted to do is because i wanted help and a lot of peoples don't even read the question when the initial post is too long. Believe me i tried.
Thanks

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |