Outside margin of frame

G

Guest

Many of my pages are frames. I somehow have an margin
outside this frame that keeps it from the edge. I cannot
find where to change it so it butts against the page top
and left margins.

Thanks in advance.
Bill
 
M

Murray

For each page in your frameset, link to an external stylesheet, or embed a
stylesheet in your code (between <head> and </head>) with the following
style in it (embedded shown for cut-n-paste convenience) (assuming you want
zero margins) -

<style type="text/css">
<!--
body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; padding:0px; }
-->
</style>

you could also try

body { margin : 0px 0px 0px 0px; padding:0px; }

or

body { margin : 0px; padding:0px; }

as a shorthand method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top