Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTML Viewer HIDE scrollbar

Former Member
0 Likes
767

How can I disable scrollbars in a HTML Viewer control? I can't hide them. Even i have enough space but i am getting this grey inactive scrollbar....

3 REPLIES 3
Read only

Former Member
0 Likes
579

Does anybody have an idea?

Read only

Former Member
0 Likes
579

Okay i've found the solution. The problem is the HTML code and IE7.

Use

<style type="text/css">

html

</style>

in your HTML Code set the DOCTYPE right and it will work fine!

Read only

Former Member
0 Likes
579

Hello Andreas,

I've found the following works quite well, when placed in the document's <head>.

<style>

html { overflow: auto; }

body { overflow: auto; }

/* Other styles to follow */

</style>

There are other solutions out there, like making the document's first line <body style="overflow: auto">, however those solutions break the markup.

In addition, you other thread regarding the <!doctype html> declaration:

http://scn.sap.com/thread/1454752

Would you mind reopening this thread so we might discuss? I've encountered the same problem, but the merge solution you provided doesn't work correctly for me. I have a mime repo object, which contains the lines:

<!doctype html>

<!CONTENT!>

and I perform a merge on the <!CONTENT!> tag, replacing it with my entire HTML document, but only the first line of my HTML is inserted (when the command is 'r' - replace). Is this what you found?