Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header and Body alignment problem #220

Closed
warnes opened this issue Jun 26, 2015 · 8 comments
Closed

Header and Body alignment problem #220

warnes opened this issue Jun 26, 2015 · 8 comments

Comments

@warnes
Copy link

warnes commented Jun 26, 2015

Using the latest jQuery and floatHead, the header and body columns are not aligning properly for my table.

I've simplified the code to a minimal example at: http://jsfiddle.net/warnes/mhmfqwgv/. (The actual alignment issue is more extreme on my page than this example.)

O/S: Mac OS X 10.10.3
Browsers:

  • Chrome Version 43.0.2357.130 (64-bit)
  • Safari Version 8.0.6 (10600.6.3)
  • Firefox 38.0.5
@mkoryak
Copy link
Owner

mkoryak commented Jun 26, 2015

you have more cells in your tbody than in thead.

https://jsfiddle.net/mhmfqwgv/3/embedded/result/

@mkoryak
Copy link
Owner

mkoryak commented Jun 26, 2015

but there is a bug when the width of the page is smaller than the table like in the edit view.

@mkoryak mkoryak added the bug label Jun 26, 2015
mkoryak added a commit that referenced this issue Jun 26, 2015
mkoryak added a commit that referenced this issue Jun 26, 2015
@mkoryak
Copy link
Owner

mkoryak commented Jun 26, 2015

fixed on master in under an hour, you should buy me a beer ;)
http://jsfiddle.net/mhmfqwgv/5/

@warnes
Copy link
Author

warnes commented Jul 2, 2015

Thanks, it is much better!

Sadly, there still has a slight offset of a few pixels ... visible when I increase the zoom.

@mkoryak
Copy link
Owner

mkoryak commented Jul 2, 2015

there is an offset on the latest fiddle i posted? I dont see one in chrome/mac

@warnes
Copy link
Author

warnes commented Jul 3, 2015

Yes, there is still a small offset in the fiddle you posted.

I'm also running Chrome on Mac OS X. Here's a screenshot of the fiddle:

image

You'll probably need to zoom in on the image to see the offset, since its only a pixel or two in this example, but is larger in my application.

Still, it is much better than it was.

Thanks again!

@mkoryak
Copy link
Owner

mkoryak commented Jul 3, 2015

weird. I dont see that happening on that fiddle on osx 10.9 and chrome 43. Your version of chrome looks very different than mine - what is it?

can you copy the generated html of that fiddle where you see the gap, and paste it into a new fiddle so I can try to reproduce?

@mkoryak mkoryak added the solved label Sep 9, 2015
@lock
Copy link

lock bot commented Dec 10, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants