Create a div with a scrollbar

September 8th, 2008

Frames are better to be avoided, but what would you do if you want to display a long list of information on a short space? with CSS you can have a scroll bar inside a div without creating an inner frame.

The syntax is very simple:

<div style=”overflow-y:scroll;height:50px;width:200px”>
  a<br>
  b<br>
  c<br>
  d<br>
  e<br>
  f<br>
  g<br>
</div>

It will appear as follows:

a

b

c

d

e

f

g

Make IIS treat .html pages as .asp

September 8th, 2008

In this simple yet very useful article I will show you how to bind the IIS in order for it to parse .html files and treat them as .asp.

You might want to use the information on this article to mislead hackers that search for asp based websites since they specialize in those kind of hacks, also some claim that html pages gets higher score from search engines than dynamic scripts (.asp .php and so on).

so, on to the technical part