[ACCEPTED]-Resizing the HTML table width in jQuery-html-table
Accepted answer
This should do the trick.
<table class="zebra">
<tr>
<td>foo</td>
<td>bar</td>
</tr>
</table>
<script type="text/javascript">
$(function() {
$('table.zebra').attr('width', 500);
});
</script>
0
This should do the trick
$("table.zebra").width('200px');
0
This worked for me
$('#MyModalID').find('.modal-dialog').css({
width: '800px'
});
0
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.