mydb mydb - 5 months ago 9
HTML Question

Show only three Element in Table

Is it possible to show only three rows of an HTML table?

The other elements will be visible as you scroll a scrollbar.


Place your table inside the following div.

div {
    width: 150px;
    height: 150px; /*make this as the height for 3 rows*/
    overflow: scroll;