Results 1 to 2 of 2

Thread: HTML5 Broken - checkbox in table using unequal columns

  1. #1
    Join Date
    Feb 2006
    Posts
    236
    Thanks
    8
    Thanked 3 Times in 3 Posts

    Default HTML5 Broken - checkbox in table using unequal columns

    I have tried everything, and nothing works, with all advice on the web being wrong about this. I have multiple table columns of data, and in the first three on the left, I need checkboxes (input). The columns are necessarily unequal. I can ONLY use in-line width on the td, because the col attribute no longer works to set width, neither does CSS. The cols display the correct widths when I use table-layout:fixed in the CSS for the table. The problem is that it is impossible to get the input check boxes inside the columns, because their apparent width is NOT changed, resulting in the checkboxes being placed under the wrong column header and sometimes under the text of a neighboring column. Of course everything works fine if you let the browser do it its way (auto something), but that is unacceptable for the data. What do I do about this? I'm ready to complain to someone, but how in the world can you do that?

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    We can't diagnose or offer suggestions without seeing code. Please provide a reduced test page, using just the pertinent markup and CSS to demonstrate the problem, and we can take a look.

    Setting up a live demo in JSBin, JSFiddle or CodePen would be most useful to us.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Set a table columns width
    By Rain Lover in forum CSS
    Replies: 1
    Last Post: 03-09-2012, 08:12 PM
  2. Resolved Unequal thumb gallery without rows
    By ixaarii in forum Looking for such a script or service
    Replies: 4
    Last Post: 05-05-2009, 08:28 AM
  3. Using a Checkbox to update table
    By Grant Holmes in forum PHP
    Replies: 1
    Last Post: 12-26-2007, 07:06 PM
  4. Highlight Table Columns
    By mburt in forum JavaScript
    Replies: 2
    Last Post: 07-24-2006, 02:37 PM
  5. table columns
    By xoblivionxfantasyx in forum HTML
    Replies: 2
    Last Post: 04-22-2006, 12:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •