easy html ?

P

Peter Schaurer

Hello

Why does the following example not work ? (firefox 1.0.2)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Show me Frames</title>
</head>
<frameset cols="40%,60%*">
bla
<frameset rows="20%,80%">
bla
</frameset>
</frameset>
</html>

Peter
 
E

Els

Peter said:
Hello

Why does the following example not work ? (firefox 1.0.2)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Show me Frames</title>
</head>
<frameset cols="40%,60%*">
bla
<frameset rows="20%,80%">
bla
</frameset>
</frameset>
</html>

Peter

Because there are no frames.
A frameset consists of frames.
It is possible to have only framesets in a frameset, but the most
inner frameset will need frames.
Also, there is no 'bla' afaik inside a frameset.
The content of a frame is really the content of another html page,
which is called by the frame:
<frame src="somepage.html">
 
H

Hywel Jenkins

Hello

Why does the following example not work ? (firefox 1.0.2)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Show me Frames</title>
</head>
<frameset cols="40%,60%*">
bla
<frameset rows="20%,80%">
bla
</frameset>
</frameset>
</html>

It's completely wrong. Where are your <frame> elements? Where did you
find that code?
 
D

dorayme

From: "Peter Schaurer said:
Why does the following example not work ? (firefox 1.0.2)

<frameset cols="40%,60%*">

100% is taken, what is the * for?

If you want a third column, you would need to put in a comma and leave room
for some width. I don't think browsers are philosophical enough to say: "Ah,
a third column of no width, interesting, I will display none but I *know* it
is *not* there" :)

If you want the second col to take up what is left after the first, leave
out the 60%

dorayme
 
M

Mark Parnell

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

Similar Threads

In javascript, XML File Create, File Save 2
Help with frames 2
3 frames 5
Where to place noframes tag XHTML 5
JS in HTML Frameset 1
Frameset & IE 2
Help with code 0
XHTML & frames 1

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top