AmigaActive (1516/1525)

From:Samuel Byford
Date:30 Sep 2000 at 21:04:04
Subject:Re: html frames

Hello

> I can now have frames in my web page but the page is
> divided in to three sections and I just want a collom to the left
> with a few buttons.
>
> Here is my program
>
> <HTML>
> <HEAD>
> <TITLE>Collinge Antiques</TITLE>
> </HEAD>

> <FRAMESET ROWS="80,*,80">
> <FRAME SRC="main.html" SCROLLING=no
> MARGINHEIGHT=4 MARGINWIDTH=4>
> <FRAME SRC="about.html" NAME="About">
> <FRAME SRC="pics.html" SCROLLING=no
> MARGINHEIGHT=4 MARGINWIDTH=4>
> </FRAMESET>
> </HTML>

Well, for a start your coding is WAY off track!!! :> (thats ok - beginners mistake :)

You say you want a Column on the left and then the main frame on the right. Well the
> <FRAMESET ROWS="80,*,80">
is wrong - youve got Rows (ie - across wise) there, not columns (up/down).

so <FRAMESET COLS= > is what you need.

also the "80,*,80" means you have 3 rows there. the star means "whats left of the page" and is used for variable width/height frames.
the line should read:

<FRAMESET COLS=80,*>

which means column one is 80 wide, and column two is the rest of the page.

the next bit:

> <FRAME SRC="main.html" SCROLLING=no
> MARGINHEIGHT=4 MARGINWIDTH=4>
> <FRAME SRC="about.html" NAME="About">
> <FRAME SRC="pics.html" SCROLLING=no
> MARGINHEIGHT=4 MARGINWIDTH=4>

Ive never come across Marginheight and marginwidth so i cant comment on that but eticate says that you NAME the frame before you SRC it. Also, you said youonly want 2 columns but then you name and src 3 of em???????

<FRAMENAME="pics" SRC="pics.html" SCROLLING="no" NOREIZE>
<FRAME NAME="main" SRC="main.html" SCROLLING="no" NORESIZE>

is what that should be. I think when u say MARGINheight etc you should have FRAMEBORDER="4" but im not sure, as like i say, ive not come across that before. (its probably some crap IE or nutscrape coding....)

My frameset - which has a row at the top, then a button bank then the main frame goes as follows:

<FRAMESET ROWS=70,* FRAMEBORDER="1">
<FRAME NAME="top" SRC="banner.html" SCROLLING="no" NORESIZE>
<FRAMESET COLS=150,* FRAMEBORDER="1">
<FRAME NAME="buttons" SRC="buttonbank.html">
<FRAME NAME="main" SRC="intro.html">
</FRAMESET>

Hope this all helps :)

TTFN
Sam



Bifford the Youngest
(Sam Byford)
Visit my site:
http://www.photopoetry.co.uk
ICQ: 52983236

Quote carefully and read all ADMIN:README mails