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, ...0 Padding in a container0 Padding in a container
Previous
 
Next
New Post
11/22/2006 8:55 PM
 
Where in the code do i modify the padding in a container so it hugs the info inside as close as possible?
 
New Post
11/26/2006 6:46 PM
 

There are a couple of locations I can think of -

the most common is the table setting where, if you don't specifiy cell padding and spacing it has a space, so if you set cellpadding=0 and cellspacing=0 on the table it will close gaps.

Then you haveto make sure any of the css classes you have set don't have padding in them.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
1/12/2007 12:45 AM
 

Hi Nina

when skinning in ascx mode, and using "<div runat="server" id="ContentPane">"  the dnn system tends to put in its own table.  there doesnt appear to be a way to add cellpadding and cellspacing attributes there.

my input code is this:

  <table width="650" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="50">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td width="150"><dnn:SOLPARTMENU userootbreadcrumbarrow=false display=vertical runat="server" id="dnnSOLPARTMENU" /></td>
      <td width="500"><div runat="server" id="ContentPane"></div></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><div align="right"><dnn:LOGIN runat="server" id="dnnLOGIN" CssClass="loginStyle" /></div></td>
    </tr>
  </table>

and in the table cell where i have only a DIV tag, DNN outputs this:

<td width="500"><div id="dnn_ContentPane"><a name="543"></a>
<table width=100%" border="0">
  <tr>
    <td></td>
  </tr>
  <tr>
    <td id="dnn_ctr543_ContentPane" align="left"><!-- Start_Module_543 --><div id="dnn_ctr543_ModuleContent">
 <span id="dnn_ctr543_HtmlModule_HtmlHolder" class="Normal"><p align="left"></p></span><!-- End_Module_543 -->
</div></td>

  </tr>
</table>

</div></td>

is there any way for me to change the properties of the table that DNN creates?

 
New Post
1/12/2007 9:01 AM
 

Check there is a class assigned to the Content pane and modify the classes in your css file.

It is possible to have content pretty hard up to the edges.

Try to put the content pane into the TD cell instead of the 'div tag' - If you open up the default skins you can see the 5 pane skin and they are applied in the td tag instead of a div tag.

YOu cannot control the output of the html though unless you decide to do some core changes.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
1/15/2007 4:26 PM
 

Hi, i have a similar problem with the container output. It puts in a:

&nbsp;<a name="375"></a>

before the container table output. This puts a line break in the display which messes up the formatting. Does anyone know how to get rid of this?

Thanks.

 


Pure Systems
www.puresystems.co.uk
UK: 0844 561 6046
Outside UK: +44 1363 777014
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...0 Padding in a container0 Padding in a container


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