Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

Disappearing margins

This might seem like a minor issue, but in fact it makes a huge difference to the overall look of the page; and I really want my index page to look as good as possible to encourage visitors to join.The issue is that, when I create a text box and fill it with text, a margin automatically appears in the "finished product", which is as it should be.However, I have noticed that when I log out - or before I log in - there is no margin between the text and the edge of the text box. The text just comes right to the edge. This makes the page look very sloppy and amateurish.Here are a couple of screenshots showing the difference between the text when I am logged in and when I am logged out:

Does anyone know why the margin only appears to logged-in members, or how this problem can be fixed?

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Replies are closed for this discussion.

Replies

  • Because you don't have a title . Add a title to the text box then it will appear .
    Click edit , then type in a title

    Hope it helps ,
    Ken
    • iAh, so that's it!
      Thanls for that.
      But I don't want titles - they look really crappy and you can't change the colours, sizes etc. And I hate that gap between the title and the body of text.
      I've been putting my titles in the main text box, where I can control them with html.
      Does anyone know if there's a way to work around this? IE, either to be able to control the titles in the "official" title box (and get rid of the gap); or to dispense with the title box without losing the margin in the main text box?
      • It is possible using CSS but i forgotten the code for that , sorry .
        try choose themes with no gap between titles and modules .

        Have a nice day ,
        Ken
  • The reason is when you don't have a title they cut out the padding of the main DIV of the text box. This lets you do things like put in images that ate the entire width of the box without having them auto-shrunk. This is actualy very helpful, but completely undocumented. And yes, it's strange that when you are logged in this doesn't preview correctly, probably something to do with the [EDIT] link making there be an xg_head DIV.

    If you wrap the contents of your box in this code, it should fix the padding:

    <div style="padding:10px;">PUT ALL OF YOUR CONTENT YOU WANT TO HAVE A MARGIN HERE</div>
    • Yep, that's the same thing I have to do to my own boxes:
      <div style="margin: auto; width: 454px; background: #FBB040; border: 1px solid #BB9F7B; color: black; padding:10px; top: -6px;">
      Content here
      </div>
  • Hey Kate!

    If you don't have a title for your text box, we remove the xg_head area and remove the margins. That's admittedly not intuitive, and it's something I've been aiming to fix for a while, but it's been a lower priority than some of the other stuff we've been working on.

    In the meantime, J wing's fix (to wrap everything into a div with a margin) will add the necessary margin.

    /Evan
    Ning Product Manager
    • Thanks for the help, guys. Good stuff.
      The Mysterious Case of the Disappearing Margin is now officially closed!
      • PS - Disappearing breaks. This is probably no big deal, but it's annoying the hell out of me. I have several different items in each of my text boxes, separated by a space. But every time I make a change or add anything, all the breaks disappear. New paragraphs as well (which is even more annoying.) I've tried using the html "br" attribute, but that disappears as well. Is there a way to create breaks apart from (which I am now about to try) adding white images between blocks of text? (This isn't going to solve the new paragraph problem.)
    • == Ning always say "We are working on it " or " i have this on mind", when you all truly put it into action & stop day dreaming so Ning can improve faster & more people will be coming into Ning

      Have a nice day ,
      Ken.
      • Hey Ken!

        I think you'll see that we've put a lot of words into actions in the past few months. Obviously we can't do everything at once, so we're prioritizing projects and suggestions as best we can.

        /Evan
        Ning Product Manager
This reply was deleted.

Search the Creators Network

Latest Activity

Fire-Tech replied to Tyler Durbin's discussion 2.0 Sliders instructions?
"A bunch of us have been using the new one from Jen & TJ. I love it! Here's a discussion about it."
21 minutes ago
Kos replied to Karl Harrison's discussion Deleting Data
"Checkout your Terms of Service at the bottom of your site. 

the Network Creator of this Network co…"
3 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"lol damn cellphones lol Scott I think Garfield said it best when he said "get the impact of this co…"
3 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Sorry bro, no go. Both Chrome & IE. Cleared cache, cookies and browser history. "
13 hours ago
Kos replied to Tyler Durbin's discussion 2.0 Sliders instructions?
"Hey Tyler I used to use a slider designed by SweetPotato.  Maybe checkout his page and go through h…"
17 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Scott, I added a @media query that targets the Galaxy 111. Can you go have another look? :-)"
18 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Using either Chrome for IE on my GIII your http://beachcatsaustralia.ning.com site doesn't go respo…"
19 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Scott can you explain to me little more on what problems you are having with the Galaxy III, is it…"
19 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Hey Scott even better use this, I just wrote it :-) Redirect any individual page from your custom…"
19 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Even better. Good find. This one works even better, it's instant. I pasted it to the custom code bo…"
22 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Just an fyi- I tried Chrome too and then cleared cache and cookies, still didn't work. If you could…"
22 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"WOW Thank you for the compliment and the kind words Garfield :) Hope you have an awesome weekend."
yesterday
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Thank you for the compliment Innocent Hami..  "
yesterday
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"301 redirect generator!!Scott this should do the trick for any page you would like to be redirected…"
yesterday
Kos replied to Peter Matthews's discussion Faceted search for Ning 3.0?
"Faceted search, or advanced search as it is commonly called, has been around for a long time and ga…"
yesterday
Garfield Creator replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"This is a real contribution and service to the community. It would be easy to miss and not get the…"
yesterday
Innocent Hami left a comment for George H. Compton IV
""
yesterday
Innocent Hami replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"You are amazing George. I am a student and I am just the beginner of designing. Hope i will learn s…"
yesterday
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Strumelia, be careful doing this. I'm not sure if this will pass on SEO for all your pages like a 3…"
yesterday
Kos replied to The Builder :)'s discussion Help! I need to file my ning network 3
"Legal avenues it is.  If they suddenly shut me down, I'll know why."
yesterday
More…