They say you learn something new every day.

I had to build a little app today for a ridiculous waste of time… I mean, a business fair that we’re hosting.  Let’s not go into the details.

For quick application development, it’s very easy to use javascript, HTML, CSS or VBscript and run it in Internet Explorer. I opted for vbscript because I needed to contact an external access database and I can’t find a way of doing that with javascript.

It works fine, but when displayed fullscreen (pressing F11 in Internet Explorer – which I had to use because of the VBscript), there’s a pesky vertical scroll bar.

It turns out you can get rid of that with one simple line of code:

  <body style=”overflow:auto”> 

One to remember.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Tag Cloud

%d bloggers like this: