Products

Solutions

Resources

Partners

Community

About

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, ...Aligh to topAligh to top
Previous
 
Next
New Post
3/27/2007 11:16 AM
 
Hello guys,

I am creating a skin and I have replaced the [banner] with a flash movie.
I would like that image to be at the very top of the page. Right now, there are about
30 pixels distance from my image to the top of the browser window. The image is under skinheader/style and table.
This is what I have:

<TABLE class="pagemaster" border="0" cellspacing="0" cellpadding="0" style="width=90%" border-collapse:collapse" valign="top" align="center">
<TR>
<TD valign="top">
<TABLE class="skinmaster" width="90%" border="0" align="center" cellspacing="0" cellpadding="0" valigh="top">
<TR>
<TD id="ControlPanel" runat="server" class="contentpane" valign="top" align="center"></TD>
</TR>
<TR>
<TD valign="top">
<TABLE class="skinheader" cellSpacing="0" cellPadding="3" width="100%" border="0">
  <TR>
    <TD vAlign="top" align="left"><dnn:LOGO runat="server" id="dnnLOGO" /></TD>
    <TD vAlign="top" align="right">
        <object >
       <param value="http://localhost/xx/images/flashintro.swf" name="movie" /> <embed width="700" height="250" src="http://localhost/xx/images/flashintro.swf"></embed>  </object>
   </TD>
  </TR>
</TABLE>
___________________

Any help is highly appreciated.

Thanks
 
New Post
3/27/2007 2:31 PM
 

The first test would be if the table cell is at the top of the browser window of if the gap comes above the table cell (enable the border of the table and make sure it is at the top).

If the table cell is at the top and the image is below the border of the cell, then add this css style to your page (or in the css style override in dnn for the page:

.skinheader img
{
   vertical-align: top;
}

 

 
New Post
3/27/2007 4:49 PM
 
Ok,

it moved to the top but it still has 3-4 pixels gap. When I login the control panel is perfectly aligned to the top, but there is a gap between the control panel and my image. It looks like a white border. But all my table borders are 0...!
How can I get rid of that gap?


Nectar
 
New Post
3/27/2007 5:52 PM
 

Is there any container? you need a no padding container or set the container to none

Salar

 
New Post
3/27/2007 7:28 PM
 

could it be the:  ..class="skinheader"cellPadding="3".. padding ?

If you are not logged into the system (no control panel showing) is it at the top?  Could be a bottom margin on the control panel.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Aligh to topAligh to top


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