[Resolved] Preventing tables from expanding – SOLVED

Home Forums Support [Resolved] Preventing tables from expanding – SOLVED

Home Forums Support Preventing tables from expanding – SOLVED

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #110306
    Stuart Webb

    I had the following question, which was answered by Tom via email, so I thought I’d post it here in case it helps anyone else.

    Q: When a table is created within the main container, it expands to the size of the parent area, how can I prevent this from happening?

    Answer 1:
    Add the following code to the Style Sheet:

    .entry-content table {
    width: auto;
    }

    Adding CSS: http://generatepress.com/knowledgebase/adding-css/

    Answer 2:
    Add the following into the <table> tag:

    style=”width: auto;”

    Stuart

    #110392
    Tom
    Lead Developer
    Lead Developer

    Thanks for posting! Glad it worked 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.