I don't have a background in programming, but I'm looking for a way to make sure that a java script fits perfectly within a specific element on my page without creating a horizontal scroll bar. Please forgive me if I don't use the correct technical terms.
Here is the code provided by a third party that I have inserted into my page to display a gallery of items. The issue is that it is too wide for the screen.
Is there a snippet of code I can add to ensure that the script completely fits within a 600px width, causing the horizontal scroll bar to disappear automatically?
Below is the script:
'<noscript>
<p>powered by <a href="https://www.example.com?pid=13903&nid=10&zid=xh20&bid=1301660001">example.com</a></p>
</noscript>
<script id="scriptId_718x940_60872" type="text/javascript" src="//example.com/?scriptId=60872&bid=1301660001&format=718x940&bannerType=3">
</script>
Just to clarify, I am looking to apply this code specifically to an html element within my page, not the entire page or website.
Thank you in advance for your assistance!