Click to See Complete Forum and Search --> : problem with footer code
harlemrisin
10-25-2005, 07:49 PM
Hello all, I am having trouble trying to place my footer code with my framesets any help would be great. Thanks again
here is the code
<html>
<head><title>yup</title>
<script type = "text/javascript">
</script>
</head>
<frameset rows="*,87%">
<frame src = "header.html">
<frameset cols="20%,*">
<frame name = "leftframe" src = "nav.html" />
<frameset cols="*,20%">
<frame src = "center.html" name=content>
<frame name = "middleframe" src = "ad.html" />
</frameset>
<frameset rows="50%,*">
<frame src = "footer.html">
</html>
Kravvitz
10-25-2005, 08:51 PM
You have 4 <frameset>s but only one </frameset>.
Why Frames Are Bad (http://karlcore.com/articles/article.php?id=2)
http://apptools.com/rants/framesevil.php
http://www.456bereastreet.com/archive/200411/who_framed_the_web_frames_and_usability/
Why Frames Suck (Most of the Time)(1996) (http://www.useit.com/alertbox/9612.html)
What's wrong with frames? (http://www.htmlhelp.com/design/frames/whatswrong.html)
http://www.tamingthebeast.net/articles/framesnoframes.htm
harlemrisin
10-25-2005, 10:12 PM
ok, so should i seperate all the <frameset>?
Kravvitz
10-25-2005, 10:51 PM
I think this is what you want. I still say you shouldn't use frames.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html><head>
</head>
<frameset rows="*,77%,10%">
<frame src="header.html">
<frameset cols="20%,*,20%">
<frame name="leftframe" src="nav.html">
<frame src="center.html" name="content">
<frame name="middleframe" src="ad.html">
</frameset>
<frame src="footer.html">
<noframes>Your browser does not support frames.</noframes>
</frameset>
</html>
harlemrisin
10-25-2005, 10:56 PM
thanks a lot...yea frames can be a pain sometimes
felgall
10-26-2005, 05:14 PM
Shouldn't the third last line read:
<noframes><body>Your browser does not support frames.</body></noframes>
Kravvitz
10-27-2005, 05:53 PM
In HTML (not XHTML), the <body> element is implied -- its start tag and end tag are optional.