| View previous topic :: View next topic |
| Author |
Message |
sticks464
Joined: 31 Dec 2006 Posts: 1102
|
Posted: Mon Dec 31, 2007 12:20 pm |
|
|
|
My bad. The index page should be
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Home</title>
</head>
<frameset cols="30%,*" border="no">
<frame src="menu.html" scrolling="no" marginheight="0" noresize="noresize" name="menu" />
<frame src="welcome.html" scrolling="no" marginheight="0" marginwidth="10" noresize="noresize" name="main" />
</frameset>
</html> |
Notice the s on the col. Border="no" is for no border between frames. |
|
randomperson9
Joined: 20 Nov 2007 Posts: 33
|
Posted: Mon Dec 31, 2007 4:46 pm |
|
|
|
It works! thank you!
Just one more thing to add a header I would just have to do this as the code> I think i got it! .<frame src="header.html" scrolling="no" marginheight="0" marginwidth="10" noresize="noresize" name="header" /> I think I got it!  |
|
sticks464
Joined: 31 Dec 2006 Posts: 1102
|
Posted: Mon Dec 31, 2007 7:03 pm |
|
|
|
Great! Your index page should look something like this
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Home</title>
</head>
<frameset rows="90,*">
<<frame src="filename.html" scrolling="no" marginheight="0" noresize="noresize" name="logo" />
<frameset cols="30%,*" border="no">
<frame src="menu.html" scrolling="no" marginheight="0" noresize="noresize" name="menu" />
<frame src="welcome.html" scrolling="no" marginheight="0" marginwidth="10" noresize="noresize" name="main" />
</frameset>
<frameset>
</html> |
|
|
randomperson9
Joined: 20 Nov 2007 Posts: 33
|
Posted: Wed Jan 02, 2008 12:54 pm |
|
|
|
my header is not working do you know what is wrong? here is the code. of the header page.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<body background="">
<title><title> |
|
sticks464
Joined: 31 Dec 2006 Posts: 1102
|
Posted: Wed Jan 02, 2008 1:38 pm |
|
|
|
You might try putting in some content and closing the tags
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><title>
</head>
<body style="background:#fff;">
Content here
</body>
</html |
There is no element background in html. |
|
randomperson9
Joined: 20 Nov 2007 Posts: 33
|
Posted: Fri Jan 04, 2008 7:13 am |
|
|
|
| kk the code you gave me did nodt work somehow when I typed text Iwanted in the header page and saved it it did not show up on the index. |
|
sticks464
Joined: 31 Dec 2006 Posts: 1102
|
Posted: Fri Jan 04, 2008 7:43 am |
|
|
|
<frame src="filename.html" />
Make sure the file name and path are correct for the page you want to open.
I ckecked this code and it works perfectly with or without the source files.
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Home</title>
</head>
<frameset rows="90,*" border="no">
<frame src="filename.html" scrolling="no" marginheight="0" noresize="noresize" name="logo" />
<frameset cols="30%,*" border="no">
<frame src="menu.html" scrolling="no" marginheight="0" noresize="noresize" name="menu" />
<frame src="welcome.html" scrolling="no" marginheight="0" marginwidth="10" noresize="noresize" name="main" />
</frameset>
<frameset>
</html> |
|
|
randomperson9
Joined: 20 Nov 2007 Posts: 33
|
Posted: Fri Jan 04, 2008 9:07 am |
|
|
|
the header.html is not working I typed words in and pressed save and it would not show up on the index page. the index page is right. here is the header page.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><title>
</head>
<body style="background:#fff;">
HI I rock
</body>
</html
the i rock was to see if it would work.
the index does work. |
|
sticks464
Joined: 31 Dec 2006 Posts: 1102
|
Posted: Fri Jan 04, 2008 10:28 am |
|
|
|
Try setting the content to the size of the logo frame
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><title>
</head>
<body style="background:#fff;">
<div style="height:90px">
<p>HI I rock</p>
</div>
</body>
</html |
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Home</title>
</head>
<frameset rows="90,*" border="no">
<frame src="header.html" scrolling="no" marginheight="0" noresize="noresize" name="logo" />
<frameset cols="30%,*" border="no">
<frame src="menu.html" scrolling="no" marginheight="0" noresize="noresize" name="menu" />
<frame src="welcome.html" scrolling="no" marginheight="0" marginwidth="10" noresize="noresize" name="main" />
</frameset>
<frameset>
</html> |
|
|
randomperson9
Joined: 20 Nov 2007 Posts: 33
|
Posted: Fri Jan 04, 2008 11:00 am |
|
|
|
| hmmm.. nothing... it works when I put a backround there but it does not work when I put text there |
|
randomperson9
Joined: 20 Nov 2007 Posts: 33
|
Posted: Fri Jan 04, 2008 11:16 am |
|
|
|
| Never mind I fixed the problem myself (somehow.) Thanks for your help! |
|
|