Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
821
Make Webpanel-Header completely invisible
posted

Hello Dear

Im trying to make the Webpanel-Header invisible, but there is always a small border in the top most of the page (between the image which is contained in the panel) and the top viewport of the browser. I was unable to get that gab away. (IE7 and IE6)

Can you help me?

the complete code;

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AJAXEnabledWebApplication._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Infragistics2.Web.v8.3, Version=8.3.20083.2059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>
<%@ Register Assembly="Infragistics2.WebUI.Misc.v8.3, Version=8.3.20083.2059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>

  
<html xmlns="http://www.w3.org/1999/xhtml" class="sbshtml">
<head runat="server">

    <title>Untitled Page</title>
    <style type="text/css">

.toolbar
{
    position:absolute;
    background-color:red;
    width:100%;
    height:40px;
    z-index:1;
    border-width:0px;
}
.splitter
{
    overflow:auto;
    position:absolute;
    top:40px;
    bottom:0px;
    width:100%;
    max-height:100%;
    background-color:blue;
}
.sbshtml
{
    height: 100%;
    margin:0px;
    padding:0px;
    overflow:auto;
    border:0;
}
.sbsbody
{
    height:100%;
    overflow:auto;
    margin:0px;
    padding:0px;   
}
.testPanel
{
    overflow:visible;
}
.noborder
{
    margin:0px;
    padding:0px;
    border:0;
}

</style>
</head>
<body class="sbsbody">
    <form id="form1" runat="server"  >
       

    <igmisc:WebPanel ID="WebPanel1" EnableAppStyling="True" BorderStyle="None" Height="100%" Width="100%" Header-Visible="false" runat="server" Heade>

    <Template>
    <asp:Image ID="Image1" ImageUrl="~/Images/company_logo.gif" runat="server" CssClass="noborder" BorderStyle="None" BorderWidth="0px" />
    </Template>
    </igmisc:WebPanel>
</form>
</body>
</html>