<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 3, 2014 at 10:34 AM, Larry Martell <span dir="ltr"><<a href="mailto:larry.martell@gmail.com" target="_blank">larry.martell@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On Wed, Jul 2, 2014 at 5:54 PM, Brian Tremblay <<a href="mailto:webmaster@tsmchughs.com">webmaster@tsmchughs.com</a>> wrote:<br>


> On 7/1/14, 9:43 AM, Larry Martell wrote:<br>
>><br>
>> On Tue, Jul 1, 2014 at 12:29 PM, Brian Tremblay wrote:<br>
>>><br>
>>> On 7/1/14, 9:19 AM, Larry Martell wrote:<br>
>>>><br>
>>>><br>
>>>> On Tue, Jul 1, 2014 at 9:27 AM, Martin Gainty wrote:<br>
>>>>><br>
>>>>><br>
> [snip html table]<br>
>>>>>><br>
>>>>>> Is there any way to get fixed headers without explicitly<br>
>>>>>> setting the width of the table cells?<br>
>>>><br>
>>>><br>
>>>> the column headers are not aligned with the data:<br>
>>><br>
>>><br>
>>> I don't know what you mean. I pasted your page into my browser,<br>
>>> and there are 2 rows with 3 columns each, lined up as I'd expect.<br>
>>> What do you expect to happen that doesn't?<br>
>><br>
>><br>
>> Please look at this fiddle:<br>
>><br>
>> <a href="http://jsfiddle.net/34Fd5/" target="_blank">http://jsfiddle.net/34Fd5/</a><br>
><br>
><br>
> That tells me nothing. You need to explain what you think should happen<br>
> that doesn't.<br>
<br>
</div>I have said what I want to happen: I want a table with fixed headers<br>
(i.e. headers that do not scroll off the screen when the table is<br>
scrolled) and I want the table cells to auto size as a table will<br>
normally do.<br>
<div class=""><br>
> BTW, your html has more than 30 errors, including this one:<br>
><br>
> "Warning Line 32, Column 17: A table row was 3 columns wide, which is<br>
> less than the column count established by the first row (4)."<br>
><br>
> Correct that, and the columns may line up the way you'd expect. And<br>
> please correct the other errors while you're at it, so that debugging is<br>
> easier and we can provide better help.<br>
<br>
</div>I posted a small example showing the problem. The 'errors' have<br>
nothing to do with the issue. But I have found out that by setting<br>
display:block on the tbody, I essentially remove the “tableness”. So I<br>
am SOL.<br></blockquote><div><br></div><div><a href="http://validator.w3.org/check?uri=http%3A%2F%2Fjsfiddle.net%2F34Fd5%2Fshow%2F&charset=%28detect+automatically%29&doctype=Inline&group=0">http://validator.w3.org/check?uri=http%3A%2F%2Fjsfiddle.net%2F34Fd5%2Fshow%2F&charset=%28detect+automatically%29&doctype=Inline&group=0</a></div>

<div><br></div><div>If you're asking for help, you could at least double check your work to make sure there aren't easily fixable errors like writing 'aligh' instead of 'align' and not closing the div.</div>

<div><br></div><div><a href="http://jsfiddle.net/34Fd5/23/">http://jsfiddle.net/34Fd5/23/</a> is this what you want?</div></div><br></div></div>