Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3428986
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:01:37+00:00 2026-05-18T07:01:37+00:00

I am having a minor problem with tables where I have long single words

  • 0

I am having a minor problem with tables where I have long single words or multiple medium sizes words in multiple columns that take up a lot of space. I get a result that looks like http://cl. ly/8cb66d08b6b9755ce858
The rows have set width percents even though I would like natural growth in each, as well line-wrapper won’t break it and display:none doesn’t actually stop it as the table grows naturally. What I would like is for the table to stay with in the parents set widths (the blue section with some padding).
As well the header is a div around the table for styling that I cannot change.

<div class="table-wrapper group">
  <table class="tabular sortable" id="campaign_table" style="table-layout:fixed; word-wrap: break-word; ">
    <thead>
      <tr>
        <td class="sorttable_nosort" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(255, 255, 255); ">
          <input type="checkbox" id="check_all_2" name="check_all_2" title="Select All" onclick="selectAllTable(document.wizard_form, check_all_2); checkIsSelected([ 'by_date', 'display_hidden', 'check_all_2']);">
        </td>
        <td width="37%" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(255, 255, 255); ">List/Campaign</td>
        <td width="43%" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(255, 255, 255); ">Template &amp; Segmentation</td>
        <td width="17%" style="min-width: 140px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(255, 255, 255); ">Date Sent</td>
        <td width="4%">Sent</td>
      </tr>   
    </thead>

    <tbody class="campaign-table">
      <input type="hidden" id="campaignNum" name="campaignNum" value="1">
      <tr class="evenRow">
        <td>
          <label>
            <input type="checkbox" id="select_981" name="select_981" onclick="checkIsSelected(['by_date', 'display_hidden']);">  
          </label>
        </td>
        <td>0ThisIsAReallyLongNameThatHasNoSpacesHopefullyMaxxxxxxxxxxxxxxxxxxxxxxxxxxx</td>
        <td>ThisIsAReallyLongNameThatHasNoSpacesHopefullyMax <br>  (BiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiggggggggggggggggggggggggggggggggggggggggText)</td>
        <td>11/08/10 4:28 PM</td>
        <td>0</td>
      </tr>
    </tbody>
    <tfoot></tfoot>
  </table> 
</div>

Note most of the classes and styles are generated from some JavaScript file. If you know any plugins that work with the 1.8 of jQuery (I have seen a few that could work but they require 1.3). I am wondering if I might have to do a manual change as the tables column widths are being set because of the data in them and modifying that data wouldn’t automatically modify the width of the columns.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:01:38+00:00Added an answer on May 18, 2026 at 7:01 am

    Part of the problem could be that you have assigned the CSS property for word-wrap to the table, but not the actual cells containing the data. See if you can assign a style or class that sets the word-wrap: break-word; property on the actual <td> element.

    Another consideration to look at is use of the &shy; soft hyphen. If you can – either server-side before the text is rendered to the page or in the browser using JavaScript – insert this soft hyphen character into your text, the browser will know to break your words at that point.

    Finally, see if applying the <colgroup> and <col> elements at the start of your table helps to both clean up the table structure and more explicitly define the column widths. This last point may not do much to actually affect the word wrapping and hyphenation of your text, but may aid in table layout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a minor problem with a database admin page that I use to
I am having a minor problem with WCF service proxies where the message contains
I have a minor problem where my (new) computer tends to completely freeze up.
I'm having some minor problems with some animations I'm trying to set up. I
Having a problem getting a TreeView control to display node images. The code below
Having this route: map.foo 'foo/*path', :controller => 'foo', :action => 'index' I have the
Just a minor problem with Arraylist . I want to sort a ArrayList<Client> by
I'm writing a very simple text editor and have run into a somewhat minor
I have a priority queue implementation in C# that I want to add a
Im having this weird problem with creating Json dynamically.... for some reason this doesnt

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.