I know this is an easy fix but I'm not seeing what could be the problem. Anyways I am reading C# Web Applications with Visual Studio .NET. I read in one of the chapters you can make a base class file that you can format all your web pages the same like a template html. Well the example has a header and footer section the rest of the page would be created by me. This is what I want to do I got the footer control made with no problem but my Header when I view it in design mode its what I want. Here is the code:
The textHeader and imageHeader are two transparent images. The bgheader is a gradiant background image. Like I stated early it looks correct but when I run it the two transparent images take the white background instead of my color one.
Any tips or suggestions be greatly appreciated.
Code:
<table width="100%" background="../images/bgheader.jpg" runat="server">
<tr>
<td>
<img src="../images/textHeader.gif" align="left" runat="server"><img src="../images/imageHeader.gif" align="right" runat="server">
</td>
</tr>
</table>
The textHeader and imageHeader are two transparent images. The bgheader is a gradiant background image. Like I stated early it looks correct but when I run it the two transparent images take the white background instead of my color one.
Any tips or suggestions be greatly appreciated.