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, ...space between banner and menuspace between banner and menu
Previous
 
Next
New Post
3/11/2006 12:02 PM
 

hi, how to get rid of the space between the banner and menu? Thanks.

The gap is depicted below:

 

skin code:

<TR>

<TD valign="top" class="skingradientmenu" >

<TABLE class="skinheader" cellSpacing="0" cellPadding="0" width="100%" border="0">

<TR><TD vAlign="top" align="left" style="height: 19px"><dnn:BANNER runat="server" id="dnnBANNER" /></TD></TR>

<TR>

<TD align="center" valign="top" style="height: 22px" >

<table width="918" height="22" border="0" cellpadding="0" cellspacing="0" >

<tr>

<td width="100%" align="left" valign="top" nowrap class="BlankMenu" style="height: 22px">

<table border="0" cellspacing="0" cellpadding="0">

<tr>

<td class="MenuBG">

<dnn:MENU runat="server" id="dnnMENU" /></td>

<td width="22" class="MenuRight">&nbsp;</td>

</tr>

</table>

</td> </tr>

</table>

</TR>

</TABLE>

</TD>

</TR>

 
New Post
3/11/2006 12:15 PM
 
I think we're gonna need to see the <table> tag for the table rows you're showing us. My guess is that you have cell padding or spacing. If not, you might have a CSS class that specifies margin or padding. I'd look at those, first.

I do have to ask why you have the menu burried within two tables, when neither table really seems to do much for it. I would personally want to get rid of those. Tables can cause accessibility issues and it's suggested that you avoid them whenever possible - that is, unless you're actually displaying tabular data.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
3/11/2006 10:10 PM
 

Thanks flanakin,

I found the [BANNER] will auto output a table by default, how to turn off it/defined new css class for it?

Html:

...

<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="/xxx/LinkClick.aspx?BannerId=4&VendorId=1"><img src="/xxx/Portals/0/layer_10.gif" border="0" alt="Banner1" height="363""></a></span>
 </td>
 </tr>
</table>

 

 
New Post
3/12/2006 10:53 AM
 

hi,

I found where the gap is: there are spaces between <td...> and <span>/ </span> and </td>.

I remove the space between them and teh gap go away.

how to fix this? thank in advance.

<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="/xxx/LinkClick.aspx?BannerId=4&VendorId=1"><img src="/xxx/Portals/0/layer_10.gif" border="0" alt="Banner1" height="363""></a></span></td>
 </tr>
</table>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...space between banner and menuspace between banner and menu


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