I am trying to set an image in the panel header just like in the SDK examples. I am using css to set the image in the header however the image never displays in the header. I can get the image to display in the expanded part of the panel.
Here is the css I am using.
.igpnl_Control
{
padding-top:10px;
}
.igpnl_HeaderExpanded
background-repeat:no-repeat;
.igpnl_HeaderExpanded img
height:12px;
left:-12px;
Please help.
Lenny
HI,
I took your css file and was able to put an image in the header. My images were stored right off the root directory. So i modified your
code to look like this background-image :url(Images/Test.jpg);
I also had to insert this line of code in the html header
<link href="TextFile.css" rel="stylesheet" type="text/css" >
Here is my page
<head runat="server"> <title>Untitled Page</title> <link href="TextFile.css" rel="stylesheet" type="text/css" ></head><body> <form id="form1" runat="server"> <div> </div> <igmisc:WebPanel ID="WebPanel1" runat="server" CssClass="igpnl_Control"> <Header> <ExpandedAppearance> <Styles CssClass="igpnl_HeaderExpanded"> </Styles> </ExpandedAppearance> </Header> </igmisc:WebPanel> </form></body></html>