Please checkout my tribute page to Adm. Grace Hopper
One issue I’m having deals with using jQuery to adjust the width of columns in the Facts table. I’m unable to force column width changes. I’m doing this by defining the following two CSS classes that define the default widths (as percentages) of the two columns in the table:
Next, in the HTML annotate the
<DIV> containing the table with 'id=“gmh-summary”’.
Finally, in the I’ve added the following to add the CSS classes to the first and second
$("#gmh-summary table tr td") .first().addClass("summary-first-col") .next().addClass("summary-second-col");
The issue is that no matter what value I change the widths to in the CSS, the column widths always appear to be set to fit the longest string of the column.
Any help at all will be appreciated. Thanks!