Click here to Skip to main content
15,609,235 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to create a responsive HTML table using CSS. I want to add an HTML table inside fieldset tag and want to appear the scrolling when I resize the browser to a small size. The table contents are filling from javascript.

I tried this.

.hor {
    float: left;
    width: 100%;
    height: 30%;
    white-space: nowrap;

            <div id="Reading" class="hor">
                <table id="list_table" width="100%" border="0"></table>

The scrolling is working only when I remove the "fieldset" tag. How I can put auto scrolling inside "fieldset" tag.
Updated 6-May-14 21:17pm

To show scroll html control should have fixed height and width. You should give fixed height and width to feildset.
Share this answer
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900