WordPress.org

Ready to get started?Download WordPress

Forums

Big Space Before Tables (11 posts)

  1. michaelhyatt
    Member
    Posted 4 years ago #

    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?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I can't tell where it's coming from, but you have a tonne of blank rows at the beginning of each table there.

  3. JyllStuart
    Member
    Posted 4 years ago #

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

  4. parisvega
    Member
    Posted 4 years ago #

    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.

  5. michaelhyatt
    Member
    Posted 4 years ago #

    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).]

  6. parisvega
    Member
    Posted 4 years ago #

    Delete the <br /> tags, that is.

  7. parisvega
    Member
    Posted 4 years ago #

    Just checked your site... looks good now.

  8. michaelhyatt
    Member
    Posted 4 years ago #

    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!

  9. JyllStuart
    Member
    Posted 4 years ago #

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

  10. wiselywoven
    Member
    Posted 4 years ago #

    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

  11. michaelhyatt
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic