• I am having a big problem with the spacing above tables in my posts. For example, in this post, there is a giant space before each table. I have used FireBug but can’t seem to fix it.

    What am I doing wrong?

Viewing 10 replies - 1 through 10 (of 10 total)
  • I can’t tell where it’s coming from, but you have a tonne of blank rows at the beginning of each table there.

    How are you inserting your tables? Something is adding several ‘break’ tags prior to each.

    You could switch to the HTML view in your WordPress editor and delete all the
    tags that are before your <table> tag as a temporary fix.

    Thread Starter michaelhyatt

    (@michaelhyatt)

    By the way, here is what the source HTML looks like:

    [Mod Note: Code segment removed. If you want to post large blocks of code, please use a pastebin (Alternate URL).]

    Delete the <br /> tags, that is.

    Just checked your site… looks good now.

    Thread Starter michaelhyatt

    (@michaelhyatt)

    Okay, I think I fixed it. I switched from HTML view in the WordPress editor, then switched to visual view and updated the file. My guess is that the line break characters were wonky in the source file.

    Thanks to everyone for their help!

    Looks much better now! Did you manually delete the tags or change something else?

    Hi Michael,
    If you copied and pasted the content that’s giving you trouble you most likely are also pasting the hmtl formatting from whatever program you pasted it from.

    This might not be a CSS problem but a simple HTML problem. In your WordPress dashboard on your post switch to HTML mode and look for a bunch of
    – if you see those spacers- delete them.

    If you need more detailed help you can find me on Twitter as @wiselywoven- follow me and DM if I can help.

    -shalom!
    JF

    Thread Starter michaelhyatt

    (@michaelhyatt)

    No, I didn’t manually do it. I just did it by switching views in the editor.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Big Space Before Tables’ is closed to new replies.