Title: dynamic cell height
Last modified: August 30, 2016

---

# dynamic cell height

 *  Resolved [tualle](https://wordpress.org/support/users/tualle/)
 * (@tualle)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/)
 * hi!
 * thanks for the great plugin
 * only thing i’ve been trying to achieve without success is what i’ll try to describe
   next.. 🙂
 * i have a table (surprise surprise!) on my homepage [http://www.tualle.pt](http://www.tualle.pt)
   that has the structure i’ll show on the following image:
 * [url=http://postimage.org/][img]http://s1.postimg.org/vs0820jpr/tablepress.jpg[/
   img][/url]
 * all cells contain widgets, and their height is defined by the size of the widget(
   especially B2, which is an events calendar, that can be very small if i only 
   have 1 date like at the present moment, or very tall if i have 4 or 5 dates, 
   so it varies all the time..)
 * what i want is A1’s height to keep up with those changes and always be equal 
   to the sum of B1+B2+B3+B4 heights so that the table is always rectangular, and
   not taller on one side than the other
 * hope i was clear and someone can help me. would make the site look much better
   all the time 🙂
 * best regards!
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/#post-6479468)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * For the table, this will actually always be the case, as tables will always be
   rectangular.
    It’s however possible for your content in the table to have different
   heights nevertheless, but that’s nothing that TablePress can influence.
 * Regards,
    Tobias
 *  Thread Starter [tualle](https://wordpress.org/support/users/tualle/)
 * (@tualle)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/#post-6479497)
 * thanks for your time Tobias!
 * so there’s really no way to force it to behave like i wanted, and the taller 
   column will always define the table’s height? :\
 * i really need to have B column defining the maximum height of the table, instead
   of A1 doing it (because IT WILL do (it is small right now, because i manually
   defined its height and it has a scroll bar, but if i leave it fullsized it will
   be really tall, making the table equally tall and create a huge amount of white
   space on B1, 2, 3, 4))
 * best regards!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/#post-6479511)
 * Hi,
 * I don’t really see a way for that 🙁 The thing is that your widgets seems to 
   have a height in them as well, and that’s the decisive factor for the height 
   of the cell in column 1. Only if the sum of the heights of the cells in column
   2 would be higher than that would the cell in column 1 extend. However, the widget
   in column 1 would not be taller.
 * Now, that leads me to a closely related issue: You are using tables for layout/
   styling purposes. This is not really recommended in modern web design, where 
   HTML tables should only be used to present tabular data. You might be better 
   off with other manual wrapper elements, like `<div>` containers, where you can
   apply other CSS code. But that’s obviously outside the possibilities of TablePress.
 * Regards,
    Tobias
 *  Thread Starter [tualle](https://wordpress.org/support/users/tualle/)
 * (@tualle)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/#post-6479521)
 * ok, no problem, will try to approach the problem in some different way then
 * thanks for having a look at it and the prompt reply 🙂
 * best regards!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/#post-6479535)
 * Hi,
 * no problem, you are very welcome! I hope that you can find a good solution!
 * Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘dynamic cell height’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-cell-height/#post-6479535)
 * Status: resolved