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, ...CSS: Leftpane empty, Contentpane not centeredCSS: Leftpane empty, Contentpane not centered
Previous
 
Next
New Post
7/2/2007 10:13 AM
 

Hi everyone,

I'm using a CSS only layout and have defined the leftpane and the contentpane so far. The contentpane uses a margin-left: 200px and everything looks fine when I have content in the leftpane (like the login etc.)

------------ SITE -------------

[][][][][] TEXT TEXT TEXT

[][][][][] TEXT TEXT TEXT

...........TEXT TEXT TEXT

>> looks fine

However, when I click on Login or Register, the leftpane is empty and it starts to look weird, because the content of the contentpane is not aligned in the centre (because of the margin-left).

------------ SITE -------------

                        [][][][][]

                        [][][][][]

>> not centred :-(

First I tried float: left for the leftpane, but the text starts to go to the complete left side, when the height of the leftpane is reached (the original idea of float, like in a newspaper with pictures in between where the text moves around).

 

------------ SITE -------------

[][][][][] TEXT TEXT TEXT

[][][][][] TEXT TEXT TEXT

TEXT TEXT TEXT

>> text goes to the complete left side

 

Is there any workaround to this problem?

01. Is it maybe possible to assign a new CSS to the logins etc. only?

02. Or a programming trick?

Thanks in advance!!!

 
New Post
7/2/2007 6:57 PM
 

Are you using a table or divs? (probably divs...)

What you are trying to do is not easy with divs...
By the way, there is no reason you couldn't do a complete skin with tables with CSS only..

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS: Leftpane empty, Contentpane not centeredCSS: Leftpane empty, Contentpane not centered


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