Web object & vertical scroll bars
Aug 31, 2015
Hi all,
I know when the html content in a web object is larger than the web object itself, your published content will have scroll bars and unnecessary margins. However, is there a Web Object "size" that is optimum so the vertical scroll bars do not appear?
Currently, I have built a Web Object (insert in slide) that is 701x525 and when published the scroll bars appear in SL2. I can change the size of the web object so wondering the optimum size.
5 Replies
Hi Garry,
I'm not sure there is an optimum size - as it'll depend on the size of the content you're displaying and the slide size as well. Perhaps you could share a copy of the .story file here so that people could take a look at what you've got set up and offer more advice based on your specifics.
Hi Ashley,
I have it fixed via the small HTML code in the Web object Index.html by using the below code
How to Avoid Scrollbars and Margins in Web Objects in the below link
http://en-au.articulate.com/support/storyline/how-to-avoid-scrollbars-and-margins-in-web-objects
I was hoping for a web object resize solution without forcing via html code or a trial and error method of ever reducing the web object size ie: use 700x520 and SL2 will not add the Vertical Scroll bars. The code work-around solves the problem - thanx again
<style>
html, body {
margin: 0 0 0 0;
overflow:hidden;
}
</style>
G
Thanks for the update Gary and I forgot about that article! Glad you found it and were able to get it working.
Hi Ashley,
How would you accomplish this in Storyline 360? The published files don't contain 'index.html'. I tried adding the code in the 'story_html5.html' but it didn't seem to fix it. I'm not a programmer... so please be as specific as possible on where to put the code. :)
Thanks
Hi Baden,
Thanks for chiming in! It sounds like you want to remove the scroll bars from a web object by editing the code in the HTML file, is that right?
This kind of code is outside of my expertise, but I know there are some folks hanging out in this community who are wizards at that sort of thing! I'm looking forward to seeing the tips they'll share with you. 😊
This discussion is closed. You can start a new discussion or contact Articulate Support.