LoginSignup
1
3

More than 5 years have passed since last update.

FixedMidashiでスクロールすると微妙にヘッダ列の幅がずれて困ったときに確認すること

Last updated at Posted at 2018-11-07

CSSの何処かでbox-sizingを指定していないでしょうか?

例えばBootstrapで

* {
   box-sizing: border-box;
}

ってなってるとか。

ライブラリ中で、いろんな幅を取得しstyleでwidthを指定して別DOMで描画するみたいなことをやっていると思われるので、もし上記の状態であれば、単純にbox-sizing指定を解除するだけで解決するかもしれません

my.css
.scroll_div{
  box-sizing: initial;
}
本家の使用方法.html
<body onLoad="FixedMidashi.create();">
  <div class="scroll_div">
    <table _fixedhead="rows:1; cols:2">
      ...

http://hp.vector.co.jp/authors/VA056612/fixed_midashi/manual/index.html より引用)

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3