[html5] table with fixed headers

Brian Tremblay webmaster at tsmchughs.com
Wed Jul 2 14:54:29 PDT 2014

On 7/1/14, 9:43 AM, Larry Martell wrote:
> On Tue, Jul 1, 2014 at 12:29 PM, Brian Tremblay wrote:
>> On 7/1/14, 9:19 AM, Larry Martell wrote:
>>> On Tue, Jul 1, 2014 at 9:27 AM, Martin Gainty wrote:
[snip html table]
>>>>> Is there any way to get fixed headers without explicitly
>>>>> setting the width of the table cells?
>>> the column headers are not aligned with the data:
>> I don't know what you mean. I pasted your page into my browser,
>> and there are 2 rows with 3 columns each, lined up as I'd expect.
>> What do you expect to happen that doesn't?
> Please look at this fiddle:
> http://jsfiddle.net/34Fd5/

That tells me nothing. You need to explain what you think should happen
that doesn't. BTW, your html has more than 30 errors, including this one:

"Warning Line 32, Column 17: A table row was 3 columns wide, which is
less than the column count established by the first row (4)."

Correct that, and the columns may line up the way you'd expect. And
please correct the other errors while you're at it, so that debugging is
easier and we can provide better help.

Brian Tremblay

More information about the Help mailing list