I need to create four frames in an HTML document. The code below creates only three frames.
& lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; FRAMESET cols = "100%" rows = "10%, 90%" & gt; & Lt; Frameset rows = "100%," & gt; & Lt; FRAME src = "frame_a.htm" & gt; & Lt; / FRAMESET> & Lt; FRAMESET cols = "20%, 60%" rows = "40%, 80" & gt; & Lt; FRAME src = "frame_b.htm" & gt; & Lt; FRAME src = "frame_c.htm" & gt; & Lt; / FRAMESET> & Lt; FRAMESET rows = "60%," & gt; & Lt; FRAME src = "frame_d.htm" & gt; & Lt; / FRAMESET> & Lt; / FRAMESET> & Lt; / Html & gt; This snapshot question tells you that the above code did not create frame D.
< Div class = "post-text" itemprop = "text">
That's because two top rows take 100% of the height above, and you have not specified any height for the third.
Try:
& lt; Framescrest cols = "100%" rows = "10%, 40%, 50%" & gt;
Comments
Post a Comment