Colspan All Columns In HTML - Weston Ganger

WG LogoWeston Ganger
  • About Me
  • My Open Source Software Libraries
  • Other Open Source Contributions
  • Software Releases
  • My Public Projects
  • My Mobile Apps
  • PDF Resume
  • Software Development Blog
  • Other Articles
  • Automotive
  • Food Recipes
  • Software Development
  • Gallery
  • My Skate Videos
  • Feature Archives
  • Solid Foundation Web Dev
Contact MeWG LogoWeston Ganger

Colspan All Columns In HTML

Posted By Weston Ganger

So I needed to make a column span all remaining columns in the row but I didn't know what number to set it to. Turns out you can set the number to something high like 100 and it will span up to that many columns.

This works in all browsers but does not work if used with table-layout: fixed.

<pre> <code class="language-markup"> <td colspan=100>This cell spans up to 100 columns<td>

Related External Links: - [Stack Overflow - colspan-all-columns](http://stackoverflow.com/questions/398734/colspan-all-columns)

Article Topic:Software Development - HTML / CSS

Date:November 10, 2016

Want me to help develop your next Ruby-on-Rails project or application?

Contact Me

Từ khóa » Html Table Td Colspan All