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, ...Banner Rendering Issue in 04.03.07Banner Rendering Issue in 04.03.07
Previous
 
Next
New Post
1/31/2007 1:10 PM
 

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.


Hal Dell - Managing Partner
ePodWorks.net, Inc.
DNN Web Hosting & Development
www.ePodWorks.net
Need Credit Card Processing in DNN with PayFLow PRO ?
Ask me how !
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Banner Rendering Issue in 04.03.07Banner Rendering Issue in 04.03.07


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