How do i center a script on my webpage
Author: DENNIS S.
Visited 659,
Followers 1,
Shared 0
How Do I Center a Script on my webpage? When I insert a script it always shows left justifies in the web browser.
I tried adding HTML <center> and even a CSS code and nothing works. The center buttons on the page don't help either.
Thanks
Posted on the
Hello Dennis,
The positioning is possibly defined in the script itself.
If you can post a link to the page in question and/or the script then we can advise further.
Kind regards,
Paul
Search the WebSite X5 Help Center
Author
<script type="text/javascript" src="https://widgets.sports-reference.com/wg.fcgi?css=1&site=pfr&url=%2Fyears%2F2020%2F&div=div_AFC"></script>
...code:
<style> .stats_table {margin:auto !important; } </style>
>> >> Step 3 - Map > The Page Properties window > The Expert section | ▪Custom Code: 3°> - Before closing the HEAD tag
ciao a tutti
.
Author
grazie mille per il tuo aiuto lo apprezzo davvero