I have a simple issue with the way the Banner (using <DNN:Banner>) in the skin renders out HTML. I'm not sure at what level the issue is -- here are the symptoms.
I have the web site mast head (http://64.74.149.91/cms) broken it to two parts a static logo (not using the DNN Logo) then the DNN Banner next to it in a table -- skin HTML looks like:
<table class="BaumSkinLogoBanner" cellpadding="0">
<tr>
<td class="BaumSkinLogoBannerLeft"><img src="/cms/Portals/0/Skins/Baum/BaumPrecisionLogo.gif"></td>
<td class="BaumSkinLogoBannerRight" rowspan="2"><dnn:BANNER runat="server" id="dnnBANNER" /></td>
</tr>
<tr>
<td class="BaumSkinLogoBannerLeft"><img width="200" height="12" src="/cms/Images/Spacer.gif"></td>
</tr>
</table>
The problem is the the <DNN:Banner> renders as this:
<table id="dnn_dnnBANNER_lstBanners" cellspacing="0" cellpadding="0" Summary="Banner Design Table" border="0" style="border-collapse:collapse;">
<tr>
<td align="center" valign="middle" style="border-color:Black;width:100%;">
<span id="dnn_dnnBANNER_lstBanners__ctl0_lblItem"><a href="/cms/Admin/Vendors/BannerClickThrough.aspx?BannerId=1&VendorId=1" target="_self"><img src="/cms/Portals/0/Baum/Banners/Photo-01.jpg" border="0" alt="Photo-01""></a></span>
</td>
</tr>
</table>
The wierd part is that I have other rows on top and below of the mast head row and the Banner Photo cell adds 2px below the Photo thus the photo is NOT flush between the rows! This is a problem because with this design a black line appears between the bottom of the Banner Photo and the top of the next row.
I took the HTML code rendered from IE 6.x and dumped it into to FrontPage. After experimenting with the code I discovered that for some reason having the </td> on the next line after the </span> causes the extra pixels. This could be a rendering issue in IE.
Looking at the ~/Admin/Skins/Banner.ascx I see that is uses a <asp:DataList> tag so thier is not too much I can do to change the rendering. Any ideas? I think this is an important rendering problem to address!
Thanks in advance.