Search code examples
htmlframeframeset

Frames in HTML of fixed length


I have an HTML page with three frames in it. I have given the size of frames as 150px, 300px and 150px.

If I want to change the frame size of 3rd one to 500px, the other 2 frames become smaller. I want instead the page should come up with scroll bar and frames to be of 150px, 300px, 500px repectively.


Solution

  • The solution is to use < iframe > instead of < frameset >

    < iframe class="one" src="one.html" >< /iframe >
    

    Now we can change width and height with this class.