CSS provides a control for this. The one it does provide, Internet Explorer doesn't support.
For the border, the border property should apply. However, IE treats the frameborder as a separate border from the CSS border, all other browsers treat it as the same border.
One would think that the margin, padding or even border-spacing properties would apply in place of marginwidth and marginheight attributes, but none of these allow control over that space for inline frames.
The ideal thing to do is avoid using frames. Frames are generally frowned upon by the W3C because they impede a page's accessibility, I suspect this is why there has been little done to make <iframe> completely controlable via CSS.
If going this route, what can be put in an <iframe> can be put directly into a document e.g. between <div> tags, and the behavior of an <iframe> simulated with the CSS "overflow" property (supported in all the major browsers that matter, IE 5.5, IE 6, Gecko and KHTML). In fact this method provides much more control, than <iframe> does. Of course this only works if you have control over what's being put in the <iframe>.
Sorry I couldn't bring better news!
Regards,
Rich
--
[
http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design