Oso Polar Posted April 11, 2006 Share Posted April 11, 2006 I'm trying to built a website with 3 frames: one on the top, one left (for a menu) and one to put the actual text and images in.this is what I have so far, but it doesn't seem to work. <html><head><title>Ÿsbeer </title></head><frameset rows="30%,70%"><frame src="topheader.htm"><frameset cols="17%,83%"><frame src="menubar.htm"><frame src="main.htm"></frameset></frameset></html>EDIT:this is what I get in internet explorer:{\rtf1\ansi\ansicpg1252\deff0\deflang1043{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs24 \par \par \par \par \par \line \line \line \line \line \line \par \f1\fs20\par \par } The separate frames are just a background image so far and seem to work fine in my browser. I'm quite new to html, so I guess it's a stupid mistake I made... but I can't find out what it is...anyone knows what the problem could be?thanks Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 It worked ok for me <html><head><title>Ÿsbeer </title></head><frameset rows="30%,70%"><frame src="http://www.google.com"><frameset cols="17%,83%"><frame src="http://www.yahoo.com"><frame src="http://www.ebay.com"></frameset></frameset></html> Is your problem with the navigation frame, ie changing pages?see this page: http://www.w3schools.com/html/tryit.asp?fi...rame_navigation Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 I tried it again with all the sites in the frames like you did, but I still get:"{\rtf1\ansi\ansicpg1252\deff0\deflang1043{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs24 \par \par \par \par \par \line \line \line \line \line \line \par \f1\fs20\par \par } "which doesn't make sense to me Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 Me Neither What Browser are you using to view the page?Are you viewing the page locally or on a server?I viewed the page locally using Internet Explorer and FireFox and it worked fine Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 I am viewing te page by saving the file as a .html file, and then opening it in internet explorer. could that be the problem? Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 I am viewing te page by saving the file as a .html file, and then opening it in internet explorer. could that be the problem?<{POST_SNAPBACK}> No that's what i done, sorry but i'm not sure how to help.You could try putting the {\rtf1\ansi\ message into google and see what it produces, someone else migh have had the same problemor try downloading firefox and see if it displays ok then. http://www.mozilla.com/firefox/ Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 are you able to view my site then? http://home.deds.nl/~ysbeer/ Link to comment Share on other sites More sharing options...
pulpfiction Posted April 11, 2006 Share Posted April 11, 2006 Hi,I tried to search the error you get in google, and kinda got an idea that its got somthing to do with the font in the title you are using, I am guessing this... could be wrong. Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 thanks, I'll try to find out whether you are right or not and what I can do about it Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 well, I removed the title completely and the problem stayed almost the same. I thing the list of weird things I got to see earlier became a bit shorter...but still no website Link to comment Share on other sites More sharing options...
Little Goat Posted April 11, 2006 Share Posted April 11, 2006 (edited) I tried the link to your site and it tried to download a file. maybe you should check that. Edit: Ok, whoa, I just downloaded that file that you linked to; is that supposed to be your web page? if it is, something is really messed up. try your own link, download the file, and open it in notepad. see what I mean? LG Edited April 11, 2006 by Little Goat Link to comment Share on other sites More sharing options...
pulpfiction Posted April 11, 2006 Share Posted April 11, 2006 This could be just crazy idea, but I still suspect the font which is causing this error, try doing this, open a new notepad, set a simple font like"arial" or Times New Roman, and type the HTML code again and save that file. then try opening it. may be u'll get it... Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 @ little goat: I still get those weird lines when I use my link, it doesn't try to download anything... I'm curious about what that file looks like but I can't find it...@ pulpfiction: I already changed the font into arial, but I'll try retyping it :)EDIT: nope, still nothing Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 Ok try thisCopy the code belowopen notepad and paste in the code.save as frame.htm on your c: drive *do not save on the server*Open with Internet Explorer. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><html><head><title>hello</title></head><frameset rows="30%,70%"><frame src="http://www.google.com"><frameset cols="17%,83%"><frame src="http://www.yahoo.com"><frame src="http://www.ebay.com"></frameset></frameset></html> The page above passed w3 validation and works ok on my machine. Maybe the problem is with the server or because a dtd wasn't specified. Link to comment Share on other sites More sharing options...
Oso Polar Posted April 11, 2006 Author Share Posted April 11, 2006 I still got the same sort of thing... so I guess it's not the server... but what about that dtd thing? To be honest, I havent got a clue what it is or how it could cause problems Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 I have uploaded the page here, see if you can view it ok: http://scott100.atspace.com/frame.htmdtd - It's the very first thing you should put on a webpage, it tells the browser what specification the page uses, in this case frames, for more info: http://www.w3schools.com/tags/tag_doctype.asp Link to comment Share on other sites More sharing options...
Little Goat Posted April 11, 2006 Share Posted April 11, 2006 ok, when I down load the file, it shows as an unrecognized file, then when I open it in notepad it looks like this: {\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1043\deflangfe1043{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}{\f28\froman\fcharset238\fprq2 Times New Roman CE;}{\f29\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31\froman\fcharset161\fprq2 Times New Roman Greek;}{\f32\froman\fcharset162\fprq2 Times New Roman Tur;}{\f33\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f34\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f35\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f36\fswiss\fcharset238\fprq2 Arial CE;}{\f37\fswiss\fcharset204\fprq2 Arial Cyr;}{\f39\fswiss\fcharset161\fprq2 Arial Greek;}{\f40\fswiss\fcharset162\fprq2 Arial Tur;}{\f41\fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f42\fswiss\fcharset178\fprq2 Arial (Arabic);}{\f43\fswiss\fcharset186\fprq2 Arial Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1043\langfe1043\cgrid\langnp1043\langfenp1043 \snext0 Normal;}{\*\cs10 \additive Default Paragraph Font;}}{\info{\author Jansen}{\operator Jansen}{\creatim\yr2006\mo4\dy11\hr20\min17}{\revtim\yr2006\mo4\dy11\hr20\min17}{\version2}{\edmins0}{\nofpages1}{\nofwords26}{\nofchars152}{\*\company }{\nofcharsws186}{\vern8243}}\margl1417\margr1417\margt1417\margb1417 \widowctrl\ftnbj\aenddoc\hyphhotz425\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\horzdoc\dghspace120\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind4\viewscale100\nolnhtadjtbl \fet0\sectd \linex0\headery708\footery708\colsx708\sectdefaultcl {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang{\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \fs24\lang1043\langfe1043\cgrid\langnp1043\langfenp1043 {\f1\fs20\lang2057\langfe1043\langnp2057 <html>\par <head>\par </head>\par \par <frameset rows="30%,70%">\line <frame src="topheader.htm">\line <frameset cols="17%,83%">\line <frame src="menubar.htm">\line <frame src="main.htm">\line </frameset>\line </frameset>\par \par }{\f1\fs20 </html>\par }}LGEdit: Sorry for the long post. Link to comment Share on other sites More sharing options...
Oso Polar Posted April 12, 2006 Author Share Posted April 12, 2006 @LG : that's what I get to see without downloading anything... @scott100: yes I can view the page...I had never heard of dtd, so what should I do with it? place a frameset dtd tag before the html tag? and what should I put in it? Link to comment Share on other sites More sharing options...
scott100 Posted April 12, 2006 Share Posted April 12, 2006 Just use it like i gave above. very first thing you declaire, thats it.Ok to summeriseYou can view the code on my site okYou cant view the same code on your siteYou cant view the same code on you pcThis is totaly weird :)Is it only frames you have this problem with? If so you could probably acheive the same effect using css. Link to comment Share on other sites More sharing options...
Oso Polar Posted April 12, 2006 Author Share Posted April 12, 2006 what should I place where the "http://www.w3.org/TR/html4/frameset.dtd" is in your file? Link to comment Share on other sites More sharing options...
scott100 Posted April 12, 2006 Share Posted April 12, 2006 It's the exact same for everyone, you should use exactly what i have.Read this page: http://www.w3schools.com/tags/tag_doctype.asp Link to comment Share on other sites More sharing options...
Oso Polar Posted April 12, 2006 Author Share Posted April 12, 2006 OMG it worked well, not imediatly... first I made the file, then I saved it as a .html file. I reopened it imediatly and saw that all kinds of weird things were put into it ( a lot of "/par" and "{" ) so I deleted all that and saved it again. Then it worked. It seems like an odd way of getting it like it should be to me, but it works now ! thanks for helping me out ! Link to comment Share on other sites More sharing options...
scott100 Posted April 12, 2006 Share Posted April 12, 2006 No probs, glad you got working :)If you ever figure out why it inserts all that code be sure to let us know Link to comment Share on other sites More sharing options...
Beamer Posted April 12, 2006 Share Posted April 12, 2006 Folks - all that \par and {} business indicates the original file was saved as an RTF and not plain text. Whatever editor you are using you should turn off Rich Text and/or save as plain text (if the editor has a save as HTML that should also work).RTF is great for some things - terrible for others. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now