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, ...How is the spacing BETWEEN modules controlled?How is the spacing BETWEEN modules controlled?
Previous
 
Next
New Post
9/1/2009 10:26 AM
 

(i just realized i had this question posted in the wrong topic.....so i'm reposting it here since it is about skinning)

in DNN.....i have the most basic toppane/leftpane/contentpane/rightpane/bottompane configuration..........

when i add a module to the top pane.....there is a HUGE amount of whitespace

between the bottom of the nav bar and the top of the module i added.

i can NOT find how this whitespace is controlled. people just say "it's in the stylesheet" but

i have searched through several css files and yes.....i've found ".

TopPane" settings like "padding" and "margin" etc....but they are all set to ZERO.

HOW is the distance between modules controlled????

i have also found the tables which define the layout of the panes.

no where does it have any padding. BUT.....when i do a "view source" on the rendered page,

i see there magically appears some additional code which uses DIVs and classes which i never defined. here's a snippit:

    <div class="c_content">
        <div id="dnn_ctr388_ContentPane" class="Normal c_contentpane DNNAlignleft">
        <!-- Start_Module_388 --><div id="dnn_ctr388_ModuleContent"
	<table border="0" width="920px" align="left" cellpadding="0" cellspacing="0" valign="middle"




as you can see, my table is wrapped inside these DIVs. 
so now my question is this: where oh where are the CSS classes 
"c_content" and "dnn_ctr388_ContentPane" defined?
(and why haven't they wreaked havoc for everyone else?)


 

  






 

 
New Post
9/3/2009 4:51 AM
 

Well... the answer is; it's the stylsheet ;-)

The extra Divs don't be making any difference, if they don't have a padding or margin.
It could be that something inside the content pane has a margin-top, or an element in the container?

Try adding this to skin.css

.Normal p{margin-top:0;}

The best way to find out is to use Firebug, an extension for Firefox, which will show you exactly what element has a margin or padding.
There is no "known" answer for this problem.

Believe me I have had these kind of problems too and it was always some kind of CSS issue, or an HTML error.

If you post a link to an online page one of the active Forum member can have a look.. if you don't have that availalbe, it's difficult to answer.
 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How is the spacing BETWEEN modules controlled?How is the spacing BETWEEN modules controlled?


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