CodeIgniter Forums
scroll bar my header also scrolled - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: scroll bar my header also scrolled (/showthread.php?tid=71137)



scroll bar my header also scrolled - kvanaraj - 07-11-2018

<div style="width: 100%; height: 320px; overflow: scroll;" > 
<div class="box-body table-responsive no-padding">

                  <table class="table table-hover" id="mytable1">

my header also scrolled. how to correct this functionality?


RE: scroll bar my header also scrolled - Pertti - 07-11-2018

There are few samples out there:
https://codepen.io/tjvantoll/pen/JEKIu


RE: scroll bar my header also scrolled - kvanaraj - 07-11-2018

(07-11-2018, 02:32 AM)Pertti Wrote: There are few samples out there:
https://codepen.io/tjvantoll/pen/JEKIu

I try with that solution not working ji.


<div style="width: 100%; height: 320px; overflow: scroll;" >
<div class="box-body table-responsive no-padding">
                  <table class="table table-hover" id="mytable">


RE: scroll bar my header also scrolled - Pertti - 07-11-2018

(07-11-2018, 02:50 AM)kvanaraj Wrote: I try with that solution not working ji.

You would need to change that CSS around a little to match your HTML.