Archived

This topic is now archived and is closed to further replies.

medovids

HTML

Recommended Posts

medovids    122
I used regular HTML code to make a web site with two frames. The frames had to cut a picture in half. I put one half of the picture in one frame and the other half in the other frame. The picture for some reason don''t touch, apparently there is some sort of a margin. How do I get around this problem?

Share this post


Link to post
Share on other sites
Zero-X    122
frames page:

  
<frameset cols="50%,*" framespacing="0" border="0" frameborder="0">
<frame name="frame1" src="frame1.html" scrolling="auto" noresize
marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" >
<frame name="frame2" src="frame2.html" scrolling="auto" noresize
marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
</frameset>
<noframes>
<body>

<p>This page uses frames, but your browser is far too old and fragile.</p>

</body>
</noframes>


And each of your pages (frame1.html and frame2.html) should contain

  
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">


And you've owned your borders sideways, cross-ways and upside-down. Cross-version, Cross-platform.


Edited by - Zero-X on January 11, 2002 11:51:13 AM

Share this post


Link to post
Share on other sites