WordPress.org

Support

Support » Plugins and Hacks » WP-SynHighlight » Is this what it's supposed to look like?

Is this what it's supposed to look like?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author FractalizeR

    @fractalizer

    That’s rather strange. I don’t have these problems on my website. But you can tune CSS to get rid of this I suppose.

    Here’s the CSS. I think the culprit is a 24-px bottom margin below the table contained in the div class=”wp-synhighlighter-expanded”

    .entry-content table,
    .comment-content table {
    border-bottom: 1px solid #ededed;
    color: #757575;
    font-size: 12px;
    font-size: 0.857142857rem;
    line-height: 2;
    margin: 0 0 24px;
    margin: 0 0 1.714285714rem;
    width: 100%;
    }

    Is that something you’re generating? If not, the cause is not accounting for existing properties inherited into your divs. Is there some way wordpress themes announce how things like table titles are being handled or want plug-in code to look like?

    Thanks,
    —John

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is this what it's supposed to look like?’ is closed to new replies.
Skip to toolbar