Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6578811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:49:09+00:00 2026-05-25T15:49:09+00:00

The concept seems simple enough: I am trying to implement fixed header scrolling by

  • 0

The concept seems simple enough: I am trying to implement fixed header scrolling by dividing the header into table A and the actual data into table B. By giving the columns precise matching fixed widths they should appear as one table.

However, depending on the number of columns I get weird rendering issues with any browser calculating column widths that turn up 1 or 2 pixels short or too long, causing the table to appear unaligned.

QUESTION: What is am I missing that is causing these off-by-one/two pixel rendering issues? Can I guarantee the widths using this approach, if so how?

I placed the code in a jsfiddle for ease of editing:

http://jsfiddle.net/hwm6q/4/

EDIT:

Please note that the fix has to work within the confines of applying it to making a Grid control (It can’t just be a hack fix for the example that I posted).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:49:10+00:00Added an answer on May 25, 2026 at 3:49 pm

    Not sure if this will work… and untested… but what if you gave

    .PseudoGrid and .SGrid

    a set width?

    I’ve updated the fiddle: http://jsfiddle.net/hwm6q/5/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems like it should be a simple concept. I need a vertical list.
I am having trouble with what seems like a very simple concept. I have
This concept seems to trouble me. Why does an NSError object need its pointer
I'm building a simple proof-of-concept for an iPad-specific website that would use video transitions
I know it's a simple concept but I'm struggling with the font metrics. Centering
Here's my situation: I've written a simple web browser. Tabbed browsing was easy enough
Fairly simple concept, making an extremely basic message board system and I want users
I'm attempting to implement a 'Requirements' type system into a program. It seemed pretty
I want to build an iPhone app, it's a simple concept. You know those
This seems like a simple problem but I have a coder's mental block: The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.