works:programmer:js:find-lost-table-elements

Поможет найти потеренные элементы таблицы

Код помогает Найти в табличной вёрстке скрытые и пустые элементы.

$("table td").css({"display": "table-cell", "empty-cells": "show", "width": "100px"}).each(function() {
    $(this).css("background-color", ('rgb(' + (Math.floor((256-199)*Math.random()) + 200) + ',' + (Math.floor((256-199)*Math.random()) + 200) + ',' + (Math.floor((256-199)*Math.random()) + 200) + ')'));
});
works/programmer/js/find-lost-table-elements.txt · Last modified: 2018/12/15 17:18 (external edit)