• Can someone please tell me why everytime I add a new “blockquote” to indent or an
    <ul> WordPress adds a space?

    I would like my text to be right underneath each other.

    For example:

    text here
    text here
    text here

    Instead of:

    text here

    text here

    text here

    I need to indent and stuff but would like to get rid of the extra space.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter bestbooks

    (@bestbooks)

    Please, anyone! This would seem like an easy fix.

    What does “Can someone please tell me why everytime I add a new “blockquote” to indent or an WordPress adds a space?” mean? It seems like something’s missing in the middle.

    And can you provide a link to an example of a blockquote that’s not displaying as you’d like?

    Thread Starter bestbooks

    (@bestbooks)

    Sorry, it got cut off.

    here is a link to the page i am trying to format.

    https://strategic-publications.net/chapter-1/

    When you scroll down, you will see in red, “Section 2: Graphic Design”. Under “Layout Structure” i indented/used “blockquote” and when doing so it keeps adding spaces that i don’t want.

    you can see where i have indented or used “blockquote” it adds a space. i am trying to figure out how to make it not do that. i would like for everything to be under each other without a line break.

    like:

    text text text
    text text text
    text text text

    instead of:

    text text text

    text text text

    text text text

    how do i remove that extra spacing when using “blockquote”

    thanks so much.

    Actually, I’m not seeing any spaces between lines in the blockquote sections, and everything looks exactly as it should. This in on Firefox on a Mac. What browser are you seeing the extra space on?

    Thread Starter bestbooks

    (@bestbooks)

    Hmm, I’m seeing it on FireFox.

    Thread Starter bestbooks

    (@bestbooks)

    This is so frustrating. I am seeing it both on my pc, using firefox and IE.

    Thread Starter bestbooks

    (@bestbooks)

    Haecceity,

    this is what the code looks like inside WordPress editor:

    <font color=”red”>Section 2: Graphic Design</font>
    Art Structure
    Layout Structure

    Balance
    Prominence
    Distribution

    Placement Structure

    i put in the blockquote tag beginning with “Balance” and end it on “Distribution”

    there should not be a line space between “Layout Structure” and “Balance”. The same for “Distribution” and “Placement Structure”.

    Sorry this is so complicated.

    Check the “div.post” parts of your CSS. There are a lot of margin specifications in there, and I’d say it’s pretty likely that’s where your spacing is coming from. I didn’t see anything in there for blockquotes, but adding something like this might not hurt:

    blockquote {margin: ??px;}

    It looks like a lot of your spacing is coming from the <p> tags. Play with some margin sizes (or maybe add a funky-colored border first to see what each piece of CSS is affecting if you can’t see it on first glance.)

    Thread Starter bestbooks

    (@bestbooks)

    Thank you GoBlue. I don’t know much about CSS either, very new to all of this. But I will try your suggestion.

    Thank you.

    Here’s what your code looks like:

    <font color="red"><strong>Section 2: Graphic Design</strong></font><br />
    <strong>Art Structure<br />
    Layout Structure</p>
    <blockquote><p>Balance<br />
    Prominence<br />
    Distribution</p></blockquote>

    Between “Layout Structure” and “Balance” you have the end of a paragraph, the start of a blockquote, and the start of a new paragraph. Unless you’re going to have no margins around paragraphs (which means no spacing between paragraphs) you’re going to end up with the layout that’s displayed (which is a perfectly logical one, in my view, given the tags you’ve used, although of course it’s not what you want to be seeing).

    I’d suggest the basic problem is that you’re using the wrong tools in having paragraphs and blockquotes to style this text.

    First, I think it would be better to create a new class of heading (say an h2 heading) that’s styled red, so that you don’t have to have that [font color=”red”] in your code. That h2 should also be styled to be bold and to have a margin-bottom of 0. Semantically, the stuff in red is headings.

    Also, semantically, the rest of the stuff is an unordered list and so I’d suggest creating a class of unordered list — <ul> — that a margin-bottom and margin-top of 0.

    Balance would then be a nested list within the list that begins with art structure and layout structure. The nested list would be indented but would also have no top or bottom margins because it would inherit those from the parent list.

    And you wouldn’t need all those <br /> tags!

    Does that make sense? If not, look up [css unordered list] on Google and you’ll find plenty of resources.

    So your code would end up looking something like this (plus of course the style rules that specify the margins).

    <h2 class="red">Section 2: Graphic Design</h2>
    <ul class="whatever">
    <li>Art Structure</li>
    <li>Layout Structure</li>
    <ul>
    <li>Balance</li>
    <li>Prominence</li>
    <li>Distribution</li>
    </ul>
    </ul>
    Thread Starter bestbooks

    (@bestbooks)

    Hi Haecceity! Just wanted to let you know that I am still working on this. Or actually have not had time yet to delve in to yet but didn’t want you to think that I had forgotten about you or GoBlue.

    If you have any more questions please feel free to ask.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘<blockquote> help’ is closed to new replies.