Jump to content

User:R'n'B/tdd.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
jQuery(function ($) {
    $('table#dd1 caption').after(
        '<colgroup><col><col span="2" style="background-color: #D0D0D0"><col span="2"><col span="2" style="background-color: #D0D0D0"><col span="2"><col span="2" style="background-color: #D0D0D0"><col span="2"><col span="2" style="background-color: #D0D0D0"></colgroup>'
    );
    $('table#dd1 td:first-child').css("white-space", "nowrap");
});