• Resolved aseenus

    (@aseenus)


    Hey fellas, I want the posts on my site to have spaces between them but I don’t know where to put the margin ><

    I tried putting margin-bottom in the .post but it did nothing.. any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Well this question “may” depend on several factors. But in general, if you only want one line space between the post you can use a BR tag but if you want to have more spaces or to control how much space, then you should use the margin-bottom tag as you have already mentioned.

    Now back to the issue at hand, as I said it will depend on if you have change the markup from DIV (default) to list items. But lets assume everything is default with the default theme of Kubrick, then you should declare margin-bottom on div.post but make sure you use “div.post” and not just “.post” because of CSS specificity….

    That is the last div container on one post….

    Hope that works for you.

    .post {
    border:1px solid #dddddd;
    background:#FFFFFF;
    margin:0px auto 25px;
    padding:15px;
    line-height: 14pt;
    }

    That seems to work okay for me using firebug. Puts a nice space between the posts.

    Thread Starter aseenus

    (@aseenus)

    true champion, thanks heaps!

    You’re very welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to put spaces in between posts? (CSS HELP)’ is closed to new replies.