Archived

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

HTML

This topic is 5817 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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