Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Iframe border in IEIframe border in IE
Previous
 
Next
New Post
1/26/2007 6:31 AM
 
Hi
I've got a problem
anythig I insert in an iframe module in IE is dispayed with a border on the top and in the left and right side...somebody knows how  can I have in the iframe just the stuff I've inserted and not any border.

meanwhile, I'm inserting an asp page in the frame..would like to know if is it possible to insert the page in the skin.ascx because it has to be dispayed in all the pages of the site and not to be modified..I tryed with an inlude but it' snot working..some advice?
regards
 
New Post
1/27/2007 4:53 PM
 
I dont get any border using Iframe. If you examin the resulting source in browser, is it actually comming from the iframe module or the content you are puting inside it?

Salar
 
New Post
1/29/2007 4:39 AM
 
Salaro wrote
I dont get any border using Iframe. If you examin the resulting source in browser, is it actually comming from the iframe module or the content you are puting inside it?

Salar

the border is a white space ont eh top and left side and it's shown only in IE not in firefox

the code( near the frame) is this one:

<!-- End_Module_460 -->
</div></td>

</tr>
</table>
<a name="488"></a><span id="dnn_ctr488_ContentPane" align="right"><!-- Start_Module_488 --><div id="dnn_ctr488_ModuleContent">
<iframe id="dnn_ctr488_IFrame_htmIFrame" src="/dotnetnuke/Portals/0/module2.asp" width="144px" scrolling="no" frameborder="no" height="45px">
Your browser does not support inline frames</iframe><!-- End_Module_488 -->
</div></span>
</td>

</tr>
</table><div class="skinmenu" >
<div align="center">
<span id="dnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU" name="dnn:dnnSOLPARTMENU:ctldnnSOLPARTMENU"
BackColor="#333333" IconBackgroundColor="#333333" HlColor="#FF8080" ShColor="#404040" SelForeColor="White" SelColor="#CCCCCC"
FontStyle="font-family: Tahoma,Arial,Helvetica; font-size: 9pt; font-weight: bold; font-style: normal;
text-decoration: "
SysImgPath="/dotnetnuke/images/" Display="horizontal" MenuBarHeight="16" MenuItemHeight="21" IconWidth="15"
MOutDelay="500" MenuTransition="None" BorderWidth="0" IconImgPath="/dotnetnuke/Portals/0/" ArrowImage="breadcrumb.gif"
RootArrowImage="menu_down.gif" RootArrow="-1" CSSMenuArrow="MainMenu_MenuArrow" CSSMenuBreak="MainMenu_MenuBreak"
CSSMenuContainer="MainMenu_MenuContainer" CSSMenuBar="MainMenu_MenuBar" CSSSubMenu="submenu" CSSMenuIcon="MainMenu_MenuIcon"
CSSMenuItem="MainMenu_MenuItem" CSSMenuItemSel="MainMenu_MenuItemSel" CSSRootMenuArw="MainMenu_RootMenuArrow" XML="&lt;root>
&lt;menuitem id=&quot;54&quot; title=&quot;products&quot; url=&quot;http://80.93.2.206/DotNetNuke/products/tabid/54/Default.aspx&quot;
selcss=&quot;rootmenuitemselected&quot; lefthtml=&quot;&amp;lt;span&amp;gt;&quot; css=&quot;rootmenuitem rootmenuitembreadcrumb rootmenuitembreadcrumb&quot;
righthtml=&quot;&amp;lt;/span&amp;gt;&quot; />&lt;menuitem id=&quot;58&quot; title=&quot;support&quot; url=&quot;http://80.93.2.206/DotNetNuke/support/tabid/58/Default.aspx&quot;
css=&quot;rootmenuitem&quot; selcss=&quot;rootmenuitemselected&quot; lefthtml=&quot;&amp;lt;span&amp;gt;&quot; righthtml=&quot;&amp;lt;/span&amp;gt;&quot; />&lt;menuitem id=&quot;57&quot;
title=&quot;investor relations&quot; url=&quot;http://80.93.2.206/DotNetNuke/investorrelations/tabid/57/Default.aspx&quot; css=&quot;rootmenuitem&quot;
selcss=&quot;rootmenuitemselected&quot; lefthtml=&quot;&amp;lt;span&amp;gt;&quot; righthtml=&quot;&amp;lt;/span&amp;gt;&quot; />&lt;menuitem id=&quot;59&quot;
title=&quot;news&quot; url=&quot;http://80.93.2.206/DotNetNuke/news/tabid/59/Default.aspx&quot; css=&quot;rootmenuitem&quot; selcss=&quot;rootmenuitemselected&quot;
lefthtml=&quot;&amp;lt;span&amp;gt;&quot; righthtml=&quot;&amp;lt;/span&amp;gt;&quot; />&lt;menuitem id=&quot;60&quot; title=&quot;about us&quot;
url=&quot;http://80.93.2.206/DotNetNuke/aboutus/tabid/60/Default.aspx&quot; css=&quot;rootmenuitem&quot; selcss=&quot;rootmenuitemselected&quot;
lefthtml=&quot;&amp;lt;span&amp;gt;&quot; righthtml=&quot;&amp;lt;/span&amp;gt;&quot; />&lt;menuitem id=&quot;62&quot; title=&quot;contact us&quot;
url=&quot;http://80.93.2.206/DotNetNuke/contactus/tabid/62/Default.aspx&quot; css=&quot;rootmenuitem&quot; selcss=&quot;rootmenuitemselected&quot;
lefthtml=&quot;&amp;lt;span&amp;gt;&quot; righthtml=&quot;&amp;lt;/span&amp;gt;&quot; />&lt;/root>"
></span>
</div>

and the frame code is this one:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title><script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head><onload="MM_preloadImages('productshover.gif','supporthover.gif','investorhover.gif','newshover.gif','aboutushover.gif','contactushover.gif')"><a href="http://80.93.2.206/DotNetNuke/products/tabid/54/Default.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','productshover.gif',1)"><img src="products.gif" alt="products section" name="Image1" width="88" height="25" border="0" id="Image1" /></a><a href="http://80.93.2.206/DotNetNuke/support/tabid/58/Default.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','supporthover.gif',1)"><img src="support.gif" alt="support section" name="Image2" width="83" height="25" border="0" id="Image2" /></a><a href="http://80.93.2.206/DotNetNuke/investorrelations/tabid/57/Default.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','investorhover.gif',1)"><img src="investor.gif" alt="investor relations section" name="Image3" width="145" height="25" border="0" id="Image3" /></a><a href="http://80.93.2.206/DotNetNuke/news/tabid/59/Default.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','newshover.gif',1)"><img src="news.gif" alt="news" name="Image4" width="73" height="25" border="0" id="Image4" /></a><a href="http://80.93.2.206/DotNetNuke/aboutus/tabid/60/Default.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','aboutushover.gif',1)"><img src="aboutus.gif" alt="about us" name="Image5" width="94" height="25" border="0" id="Image5" /></a><a href="http://80.93.2.206/DotNetNuke/contactus/tabid/62/Default.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','contactushover.gif',1)"><img src="contactus.gif" alt="contact us section" name="Image6" width="97" height="25" border="0" id="Image6" /></a></DIV></body></html>


does it make any sense?
cheers
 
New Post
1/29/2007 7:26 AM
 
Here's a snip from a skinning project I did last month, it works fine with no borders:
<iframe id="newsletter_frame" frameborder="0" src="<%= SkinPath %>Forms/News.html" width="163" height="141" scrolling="no"></iframe>
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Iframe border in IEIframe border in IE


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out