1

Please check this link: http://jsfiddle.net/LokeshMasih/sdj9kcqk/

Width of Inner div id="divTable" exceeding the outer div because of the width of inner's table (id="tblInner") headers.

Now I want to apply the scrollbar in Inner div id="divTable" for table id="tblInner". And all width should be in percentage(%)

Dyrandz Famador
  • 4,499
  • 5
  • 25
  • 40
Lokesh Masih
  • 11
  • 1
  • 8

1 Answers1

0

change css of first div

 <div style="width: 100%; border: solid 1px green;display: table;">
    <table id="tblMain">

see Demo

Kishan
  • 1,182
  • 12
  • 26