• Resolved jschwabish

    (@jschwabish)


    Hi,

    I’m just learning HTML and CSS code, so hopefully this is pretty easy for someone. I’m trying to remove the paragraph spacing *after* a bulleted list (two bullets). The code in my post (not yet live, so unfortunately I can’t share the link), looks like this:

    <style type=”text/css” media=”all”>
    p {margin:0px;}
    </style>

    <p> first paragraph text </p>

    • first bullet text
    • second bullet text

    <p> second paragraph text </p>

    This gives me:
    first paragraph text
    * first bullet text
    * second bullet text

    second paragraph text

    But I want to remove that space between “* second bullet text” and “second paragraph text”. Is there some additional CSS code I need?

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter jschwabish

    (@jschwabish)

    So it doesn’t look like my code pasted correctly here. But, after fooling around for a while, I figured this out by adding the following code to the top of my post:

    <style type=”text/css”>
    p, ul { display: inline; } li { margin-left: 40px; }

    </style>

Viewing 1 replies (of 1 total)
  • The topic ‘space after bullets’ is closed to new replies.