MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(document).ready(function() { $('table.wikitable').css({ 'margin-left': 'auto', 'margin-right': 'auto', 'display': 'table', 'border-collapse': 'separate', 'width': '600px' →Specify the width as needed: }); });" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
'margin-right': 'auto', | 'margin-right': 'auto', | ||
'display': 'table', | 'display': 'table', | ||
'border-collapse': 'separate' | 'border-collapse': 'separate' | ||
}); | }); | ||
}); | }); | ||
Latest revision as of 21:19, 14 November 2024
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function() {
$('table.wikitable').css({
'margin-left': 'auto',
'margin-right': 'auto',
'display': 'table',
'border-collapse': 'separate'
});
});