1.

Solve : HTML frames?

Answer»

hi everyone,
I'm having a problem with html frame. Could anyone help me?
I have master page which has foloowing CODE inside :




Master













All these files are stored in corresponding path.
But when i open my master page by BROWSER i cannot see anything. It's just an empty page.Hmmm ...... know what - it is so long since I used frames I am having a job remembering it all. Just me but - went away from frames years ago - as they don't usually assist well with SEARCH engines. Prefer using a template approach and css etc.

Anyways - far as I can tell for now the syntax looks normal for a frames master page - and if you say paths are OK then not sure why things do not come up.

Might be worth building the page in increments - so leave out your columns pages and just set up your header - get that working, then add. Be worth also adding a message in case of folks who switch frames off.You need to get rid of , and .

Kinda hard to explain, but a HTML file with frames, like the one you have, doesn't have a body.
The individual html files that are loaded into the frames have a body.

My advice THOUGH: Stay away from frames, they are bad. Learn CSS and create the site in single page files.Well spotted re - had forgotten that!

It's that long since I used frames - if you needed proof!: Quote from: ChrisXPPro on August 01, 2008, 07:31:29 PM

Well spotted re <body> - had forgotten that!

It's that long since I used frames - if you needed proof!:
Yes I know that frames are pretty old.
But I have to use it for political reason
Now the master page is working just fine.
Tnks for all reply. But now i have another problem. Is there any way to align the text withiin a frame ??Quote from: sansar on August 05, 2008, 01:51:05 AM
Is there any way to align the text withiin a frame ??

You align the text in the actuall seperate frame file. Just create the frame file the way you would create any HTML page, by adding alignments, colours, fonts etc.Quote from: sansar on July 31, 2008, 08:40:05 AM
<FRAME src="HTMLs\1.html" NAME=ALPHABET FRAMEBORDER="1" SCROLLING=NO MARGINHEIGHT=1 noresize ALIGN=CENTER>
<FRAMESET COLS="25%,75%">
<FRAME src="HTMLs\2.html" NAME=PROCEDURES FRAMEBORDER="1" SCROLLING=YES MARGINHEIGHT=1 noresize>
<FRAME src="HTMLs\3.html" NAME=WHOLESCRIPT FRAMEBORDER="1" SCROLLING=YES

You should be using slashes, not backslashes.


Discussion

No Comment Found