Easy solution is create a div inside of td
and set width for it by jquery
$(document).ready(function() { $("td").each(function(index) { var htmlText = " <div style='width:300px;'>" + $(this).text() +"</div> "; $(this).html(htmlText); }); });
Easy solution is create a div inside of td
and set width for it by jquery
$(document).ready(function() { $("td").each(function(index) { var htmlText = " <div style='width:300px;'>" + $(this).text() +"</div> "; $(this).html(htmlText); }); });
Discussion
No comments yet.