Title: Table Width
Last modified: August 20, 2016

---

# Table Width

 *  Resolved [Wendy](https://wordpress.org/support/users/gwade/)
 * (@gwade)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/table-width/)
 * Hi, I have set up a table yet the width is too wide, how do I ensure that there
   is no padding in the cells and that it fits into the width allowable on my wordpress
   site. In Firefox the table clashes with the widgets on the side.
 * Thanks
    Grant
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

Viewing 15 replies - 46 through 60 (of 124 total)

[←](https://wordpress.org/support/topic/table-width/page/3/?output_format=md) [1](https://wordpress.org/support/topic/table-width/?output_format=md)
[2](https://wordpress.org/support/topic/table-width/page/2/?output_format=md) [3](https://wordpress.org/support/topic/table-width/page/3/?output_format=md)
4 [5](https://wordpress.org/support/topic/table-width/page/5/?output_format=md) …
[7](https://wordpress.org/support/topic/table-width/page/7/?output_format=md) [8](https://wordpress.org/support/topic/table-width/page/8/?output_format=md)
[9](https://wordpress.org/support/topic/table-width/page/9/?output_format=md) [→](https://wordpress.org/support/topic/table-width/page/5/?output_format=md)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349143)
 * Hi,
 * sure, always glad when I can help!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please rate TablePress here in the plugin directory.
   Thanks!
 *  [jimchicago](https://wordpress.org/support/users/jimchicago/)
 * (@jimchicago)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349154)
 * Hi Tobias, new question for you. I created a new Tablepress table on [this page](http://www.themarketingquiz.com/other-plans)
   and now I want to enable visitors who click a given button or link to be taken
   to a particular row of the table.
 * I have tried inserting anchor links `<a name="row-name">Row Name</a>` into each
   row of the table and then linking to them by entering a URL formatted this way:
   `
   http://www.themarketingquiz.com/other-plans#profitsharing/` in the URL field 
   of certain menu items in Appearance > Menus.
 * So far it’s not working for me. When I click the menu button that should take
   me to the specified row of the table, it just takes me to the other-plans page,
   without scrolling down to the anchor. Any suggestions?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349155)
 * Hi Jim,
 * the link you are using is slightly wrong. Please try again with
 *     ```
       http://www.themarketingquiz.com/other-plans/#profitsharing
       ```
   
 * The `#profitsharing` needs to be added after the second `/`.
 * Regards,
    Tobias
 *  [jimchicago](https://wordpress.org/support/users/jimchicago/)
 * (@jimchicago)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349156)
 * Thank you for that VERY quick response, Tobias. But even when I include that 
   second / in the destination URL, the other-plans page is not scrolling down to
   the row where the profitsharing anchor is.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349157)
 * Hi Jim,
 * the link needs to be exactly like in the gray box above. Additionally to adding
   that `/` as you did, you’ll have to remove the one after `#profitsharing`.
 * Regards,
    Tobias
 *  [jimchicago](https://wordpress.org/support/users/jimchicago/)
 * (@jimchicago)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349158)
 * I thought I had read that there should be a / at the end of URLs entered for 
   custom links in WP menus. Whatever, thanks, the page is now scrolling, but:
 * When I click the Profit Sharing button in the nav bar (under Retirement Plans),
   the [other-plans page](http://www.themarketingquiz.com/other-plans/) scrolls 
   down a bit too far, so that the first paragraph of the Profit Sharing row is 
   not visible.
 * To fix this I tried moving the `id="profitsharing"` attribute and value into 
   the first `<p>` element of each row in the R-hand column and I eliminated all`
   <a name=` elements from the `<h3>` elements in L-hand column. Seems to make no
   difference.
 * Thank you for any suggestions you can offer to solve this scrolling issue.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349159)
 * Hi,
 * well, yes, URLs in the custom links should end with a `/`. The difference here
   is that the `#profitsharing` (called hash or fragment) is not really part of 
   the URL, as it is not send to the server, but more like a command to the browser,
   on where to go after the URL has been loaded.
    That’s why it is appended to the
   plain URL (which should have the `/`).
 * Now, I just tried with the link and the browser scrolls to the correct position
   for me. The text “Profit Sharing Plans are often …” aligns nicely with the top
   of the page content in the browser.
    The only way to add some space above that
   would be to move the link target (i.e. the element with the `id="profitsharing"`)
   higher. This will mean that you’d have to move it to the previous row.
 * Regards,
    Tobias
 *  [jimchicago](https://wordpress.org/support/users/jimchicago/)
 * (@jimchicago)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349160)
 * Thanks, Tobias, for your help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349161)
 * Hi,
 * sure, no problem! You are very welcome!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!
 *  [doogster](https://wordpress.org/support/users/doogster/)
 * (@doogster)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349172)
 * Hey Tobias,
 * First of all, I just installed your TablePress plugin and loving it so far!
 * Having a bit of difficulty though after resizing the first column in getting 
   the first row to rezize
 * Here’s what I added to the Custom CSS:
    .tablepress .column-1 { width: 450px;}
 * I have selected the option on my table “The first row of the table is the table
   header”
 * The problem is while the above CSS while it worked to resize every cell in the
   table it didn’t resize the header column
 * Thanks in advance for your help 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349173)
 * Hi doogster,
 * thanks for your question, and sorry for the trouble.
 * That code looks correct, so I’m not sure what’s wrong. However, I’ll gladly take
   a look, but for that I’d need to you to post a link to the page with the table,
   please. Thanks!
 * Regards,
    Tobias
 *  [doogster](https://wordpress.org/support/users/doogster/)
 * (@doogster)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349174)
 * Hey Tobias
 * Here’s the page I am testing on
    [http://www.cardperks.ca/category/issuers/amex/](http://www.cardperks.ca/category/issuers/amex/)
 * I’ve selected Table Head Row to hold the first row as a header
 * What I noticed in the HTML code is when the first row is a header
    the cells 
   are wrapped in a div tag
 * ie: <div>Card Offer</div>
 * I tried unsuccessfully to add various .div formatting to the custom CSS settings…
 * Any help you can provide is greatly appreciated 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349175)
 * Hi,
 * thanks for the link!
 * First: Don’t worry about the `<div>` wrappers. Those have no influence here, 
   but are necessary for the sorting arrows.
 * Now, one reason for this problem might be the “Horizontal Scrolling” that is 
   enabled for this table. As it is actually not needed, you should turn it off.
   So, please uncheck the corresponding checkbox on the “Edit” screen of the table.
 * The next step will then have to be to find a good combination of text size and
   width of the first column. Having the first column this wide will probably not
   work, because the header row cells also need space.
    For that, I recommend to
   also decrease the font size in the head row, with this “Custom CSS”:
 *     ```
       .tablepress thead th{
         font-size:10px;
       }
       ```
   
 * Regards,
    Tobias
 *  [doogster](https://wordpress.org/support/users/doogster/)
 * (@doogster)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349176)
 * Hey Tobias,
 * Thank you sooooo much for your help that worked!!!
 * Watch for a paypal donation coming through your site from me 🙂
 * Again really appreciate your help!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/table-width/page/4/#post-3349177)
 * Hi,
 * very nice! Thanks for the confirmation!
    Great to hear that this worked!
 * And thanks for wanting to donate, I really appreciate it!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 15 replies - 46 through 60 (of 124 total)

[←](https://wordpress.org/support/topic/table-width/page/3/?output_format=md) [1](https://wordpress.org/support/topic/table-width/?output_format=md)
[2](https://wordpress.org/support/topic/table-width/page/2/?output_format=md) [3](https://wordpress.org/support/topic/table-width/page/3/?output_format=md)
4 [5](https://wordpress.org/support/topic/table-width/page/5/?output_format=md) …
[7](https://wordpress.org/support/topic/table-width/page/7/?output_format=md) [8](https://wordpress.org/support/topic/table-width/page/8/?output_format=md)
[9](https://wordpress.org/support/topic/table-width/page/9/?output_format=md) [→](https://wordpress.org/support/topic/table-width/page/5/?output_format=md)

The topic ‘Table Width’ 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/)

 * 124 replies
 * 21 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/table-width/page/9/#post-3349248)
 * Status: resolved