You are here: Re: Having problem with frames « HTML « IT news, forums, messages
Re: Having problem with frames

Posted by dorayme on 01/25/07 05:43

In article <8mdgr21r9gpkog608stlghlcqabem75si2@4ax.com>,
Stubbo_of_Oz <stubbo@invalid.invalid> wrote:

> I am trying out frames - not very conversant with them yet.
>
> I got some coding from:-
>
> http://www.w3.org/TR/html401/present/frames.html
>
> and adpated it to my needs and came up with this:-
>
> <HTML>
> <HEAD>
> <TITLE>A simple frameset document</TITLE>
> </HEAD>
> <FRAMESET cols="20%, 80%">
> <FRAMESET rows="100, 200">
> <FRAME src="head.html">
> <FRAME src="contents.html">
> </FRAMESET>
> <FRAME src="mainpage.html">
> </FRAMESET>
> </HTML>
>
> I have tried it out with very simple .html files with one word in
> each.
>
> The three .html files show up OK when I load into Netscape 7 but do
> not appear at all in Internet Explorer 7
>
>
> Any help as to why would be greatly appreciated.
>

First put:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

at the top of your page and post it to a server along with your
other html files, which should have doctypes (not necessarily the
above one, perhaps:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

And then test and see and come back if need be.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация