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

Remove scroll bars at custom containers

Former Member
0 Likes
1,961

Hello all,

I created a html page with cl_gui_html_viewer and i put this html into custom container. I did this to see a value in big fonts.

My problem is, i cant get rid of vertical scroll bar from custom container. Even i change to size of the container, scroll bar doesnt dissappear.

Is there a method for that?


4 REPLIES 4
Read only

former_member186491
Contributor
0 Likes
997

Hi Aydin,

Have you tried to modify HTML page?

For modifying HTML, add the value ";overflow:hidden" in parameter "style" of tag  in your HTML page.

For Ex :-

        

<body style="font-family:arial;font-size:90%;overflow:hidden">

This way you won´t see the scrollbars.

Hope this would be helpful.

Thanks.

Kumar Saurav.

Read only

0 Likes
997

thank you.

achieved the requirement.

thread closed.

Read only

Former Member
0 Likes
997

my requirement is also same..

can any one plz guide me to do this..

requirement : I want to remove scroll bar for a custom container.

Read only

0 Likes
997

Hi Anusha,

What you are unable to understand, if it is how to use CL_GUI_HTML_VIEWER then please check these links -

http://wiki.sdn.sap.com/wiki/display/profile/2007/08/30/About+CL_GUI_HTML_VIEWER

http://wiki.sdn.sap.com/wiki/display/Snippets/DISPLAYING+CUSTOM+HTML+IN+CL_GUI_HTML_VIEWER

But, if you are unable to disable Vertical Scroll Bar as the original thread then, you need to modify HTML page

For modifying HTML, add the value ";overflow:hidden" in parameter "style" of tag  in your HTML page.

For Ex :-

        

<body style="font-family:arial;font-size:90%;overflow:hidden">

This way you won´t see the scrollbars.

Hope this would be helpful.

Thanks.

Kumar Saurav.