Computer Hope
Internet & Networking => Web design => Topic started by: dyl on July 26, 2010, 11:00:11 AM
-
hi im trying to create a page from nested frames, this is my code but i cant see whats going wrong, the images end up all over the place.
<html>
<head>
<title>titan snow</title>
</head>
<frameset rows="77,17,173,43,45,153" frameborder="no" framespacing="0" border="0">
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/landinghead.jpg" marginheight="0">
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/lannavwhole.jpg" marginheight="0">
</frameset>
<frameset cols="401,119" frameborder="no" framespacing="0" border="0">
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/landingmain.jpg" marginheight="0">
</frameset>
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/landinoffers.jpg" marginheight="0">
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/landingtwit.jpg" marginheight="0">
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/landingface.jpg" marginheight="0">
<frame src="http://i828.photobucket.com/albums/zz210/dyltomkins/landingnews.jpg" marginheight="0">
</frameset>
-
To be honest I can't understand why anyone uses frames.
But anyway I can see a good few problems with that code.
1) In the first frameset, you have 6 rows set but you are only using 2 frames inside the frameset.
2) In the second frameset you have 2 columns but you're using just 1 frame.
3) The four frames after that are not in a frameset.
-
you can only have one frameset tag that is used, I believe. if you want nested frames you need to make a frame reference a file that contains another frameset.