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, ...container: space between header and textcontainer: space between header and text
Previous
 
Next
New Post
6/4/2009 12:15 PM
 

Hi,

how do you control or eliminate space between the header and the text in the ContentPane? I've checked to make sure there are no line breaks after the header or before the text in the content pane.

Basically, it currently looks like this:

Header

text text text text text text text text text text text text
text text text text text text text text text text text text

but I would like it to look like this:

Header
text text text text text text text text text text text text
text text text text text text text text text text text text

any ideas?

 
New Post
6/4/2009 12:57 PM
Accepted Answer 

Are you using a heading (h1, h2...) for your container title?

If so, make sure to set the margin bottom to 0 (defaulted by browsers)  on this element, it'll get rid off the "space"

Hope this helps!


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
6/4/2009 3:34 PM
 

thanks. I'm modifying a free download container and it already has a css class designated for the header. could that be interfering with the heading? I tried setting margins to 0 within that style but it didn't seem to help.

 
New Post
6/8/2009 9:14 AM
 

oh I got it now. I was trying to fix margins, not margin-bottom. much better. thank you!!!!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...container: space between header and textcontainer: space between header and text


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