Click to See Complete Forum and Search --> : A little frame problem.


gokou
03-03-2003, 06:31 PM
Heres the site (http://www.uogameresources.com)

My problem is... I have the top frame and the bottom frame connected together with images'. The image is a chain sort of thing. On the left side it is fine, but on the right side, see where it is having trouble aligning with each other? If I take off a percentage of the table of the bottom frame, it will just become uneven in a differen't area. What do i do to make this work? Pixels'?

dabush
03-03-2003, 06:45 PM
I noticed that you did not close the top-right frame with

</BODY>
</HTML>

gokou
03-03-2003, 08:35 PM
netscape is messed up. I removed some images in the coding, but it still shows up in netscape. Why would it still be showing? Also, how do I fix that alignment problem? Am I the only one trying to align images with frames?

Stefan
03-04-2003, 03:54 AM
Originally posted by dabush
I noticed that you did not close the top-right frame with

</BODY>
</HTML>

That is not an error. Those tags are optional in HTML

Stefan
03-04-2003, 04:03 AM
Originally posted by gokou
netscape is messed up. I removed some images in the coding, but it still shows up in netscape. Why would it still be showing? Also, how do I fix that alignment problem? Am I the only one trying to align images with frames?

Well for starters you frameset code is broken.

You are missing the required doctype and the noframes section must be just before the last </frameset>

Start with fixing that and see if it helps.

For reference here is how a correct frameset could look like

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<frameset cols="100, 1*" border="0"> <!-- border="0" is a bugfix for incorrect frameborder=0 support in IE, NS as well as Opera -->
<frame name="nav" src="nav.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto">
<frame name="main" src="main.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto">
<noframes>
<body>
<p>
Frames are not working in your Browser.<br>
You can reach the individual pages of the frameset via these links<br>
<a href="nav.html">Navigation</a><br>
<a href="main.html">Main</a>
</p>
</body>
</noframes>
</frameset>
</html>

gokou
03-04-2003, 06:00 AM
Thanks Stefan. I made alot of changes before reading your post, but I didn't change anything there except I did change the % to pixels', that helped alot. I don't like to use declarations' because I don't understand them and I assume my code wouldn't validate anyways'. I'll make some of the changes you showed in the morninng, but right now i'm going to bed.