A simple 2 contents / main text layout.

S

Spacen Jasset

I've looked around for what I want to do, but I can't seem to find what I
want.

I would like to make a two pane layout. al la contents / main text style.
But I want is the contents box to alter what the main text section shows --
infact i want it to load up diffrent pages.

So I tried something like this:

<!-- Contents section -->
<div class="contents">

<base target="main">

<a href="main.html">Main</a></li>
<a href="contact.html">Contact</a></li>
.... more contents links

</base>

</div>

<!-- Main text ->
<iframe id="main" name="main" src="main.html" frameborder="0">
</iframe>


The problem is that the iframe adopts borders depending on the size of the
pages I link to. I just want the iframe to resize itself essentially, so
that the main browser scroll bars can be used...if you see what I mean. i.e.
I want the iframe "box" to expand as necessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top