CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Posts
    37

    Is there no resolution to this? IFRAME ignores marginwidth attribute

    Is there no resolution to this? My IFRAME completely ignores the attribute marginwidth="0" just because it's partly XML(with xslt in a separate file), partly Classic ASP and not partly HTML, partly ASP as it was before.

    <IFRAME SRC="sometable.asp" id="iframe" onload="resolveAccessDifferences();" WIDTH=779 HEIGHT=302 marginwidth="0" marginheight="0" allowtransparency="true">

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Is there no resolution to this? IFRAME ignores marginwidth attribute

    The iframe's margins will be overwritten by the actual margins of the page loaded into the source. Have you tried setting the margins of sometable.asp to zero?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured