Showing the Web Browser Control without a scrollbar |
You can display the IE control inside of a form by using the following <body> style tag:
<html> <head> <title>Test</title> </head> <body bgcolor='silver' style='overflow-x: hidden'> test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 test1234567890 </body> </html>
You can also force the scroll bar to pop up only if it is indeed needed by using:
<body scroll='auto'>
This is usefull for forms that typically don't need a scroll bar unless there's a lot of data. The scroll bar takes up horizontal space and this can provide some extra pixels to display data.
Last Updated: 12/08/99