Friday, April 27, 2012

codeWiz: How to make odd HTML frames like this


Ever saw yourself worried in the frames you are encountering right now, coding them in the Notepad and whatever you would desire to do, it won't show the frame you want?  This is the perfect tutorial on how to do such hard frames.

In all url.htm you will see, replace it with the URL you want to see in the frame.


1


<html>
<frameset cols= "35%,30%,*">
<frame src= "url.htm">
<frameset rows= "50%,*">
<frame src= "url.htm">
<frame src= "url.htm">
</frameset>


<frameset>
<frame src= "url.htm">
</frameset>
</html>


In this time, we closed the frameset tag because we don't have space to insert it anymore. We only have 2 rows and is it still enough to supply the other part of the frame? The reason why we closed it and opened the frameset tag is to fill-up the missing component of frameset cols. That is why we arrived at this simple frame. Try it yourself.


2

<html>
<frameset rows= "50%,*">
<frameset cols= "50%,*">
<frame src= "url.htm">
<frame src= "url.htm">
</frameset>


<frameset>
<frame src= "url.htm">
</frameset>
</html>


This is pretty much what we also did at the first one. Instead, we used rows in order to show difference in using the rows and columns. I think that in these examples, it is clear enough for you to do the frames which looks impossible to do. 


Now, try these.









0 comments:

Post a Comment