Sniffy Posted June 24, 2006 Share Posted June 24, 2006 My code doesn't seem to be working right no matter how I modify it. I'm trying to set up my homepage for my new "Bobville site" but, it doesn't wanna work for me.Just when my hosts server gets back up I have more problems. All my pages are made, random link page, news page, logo page, and menu , but I just can't seem to put it all on one page with the frames.Here's my code, do what you must with it. <html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en"> <meta name="Author" content="Sniffy Gerbil"> <title>Welcome to Bobville!</title><link rel="stylesheet" type="text/css" href="stylesheet.css"></head><body><frameset cols="120,*" rows="100" border="0"><frame src="menu.html" name="navigation" scrolling=no noresize><frameset rows="100,*"> <frame src="header.html" name="logo" scrolling=no noresize><frame src="index2.html" name="main" scrolling=auto noresize><frameset "cols="120" rows="100"><frame src="link.html" name="rightside" scrolling=no noresize></frameset> </frameset></frameset></body></html> The site: http://bobville.1500mb.com/ Link to comment Share on other sites More sharing options...
scott100 Posted June 24, 2006 Share Posted June 24, 2006 You cannot use body tags together with the frameset tags, remove the body tags and it should work.Frame example: http://www.w3schools.com/html/tryit.asp?fi...html_frame_cols Link to comment Share on other sites More sharing options...
aleksanteri Posted June 24, 2006 Share Posted June 24, 2006 (edited) Found your mistake. <html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en"> <meta name="Author" content="Sniffy Gerbil"> <title>Welcome to Bobville!</title> <link rel="stylesheet" type="text/css" href="stylesheet.css"></head><frameset cols="120,*, 120" border="0"> <frame src="http://bobville.1500mb.com/menu.html" name="navigation" scrolling="no" noresize="noresize"> <frameset rows="100,*"> <frame src="http://bobville.1500mb.com/header.html" name="logo" scrolling="no" noresize="noresize"> <frame src="http://bobville.1500mb.com/index2.html" name="main" scrolling="auto" noresize="noresize"> </frameset> <frame src="http://bobville.1500mb.com/link.html" name="rightside" scrolling="no" noresize="noresize"></frameset><noframes><body>Your browser does not support frames!</body></noframes></html> The error was that you had <frameset> inside the <body> element. <frameset> should be considered in the same priority as <body> and <head>.This is wrong:html head /head body frameset /frameset /body/html... and this is right:html head /head frameset /frameset body /body/htmlGahhh, looks like someone got me first. Edited June 24, 2006 by aleksanteri Link to comment Share on other sites More sharing options...
Sniffy Posted June 24, 2006 Author Share Posted June 24, 2006 Thanks, makes sense.I knew it was only something little. I figured something was in the wrong place, and I guess it was.My host server is still having log-in errors, so I'll have to wait to activate it. 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