MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
$(document).ready(function() { | $(document).ready(function() { | ||
| Line 6: | 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'
});
});