Site logo

Archived topic

Preventing tables from expanding - SOLVED

1 reply · Started by Anonymous on May 26, 2015

Viewing posts 1–2 of 2

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

Thanks for posting! Glad it worked :)

This archived topic is closed to new replies.