Fixed Layout Table Ignores Min-width Of Cells - HTML & CSS - SitePoint

<div id="table-comparison"> <table id="comparison" cellpadding="0" cellspacing="0"> <tr class="img"><td>&nbsp;</td><td><img src="/images/compare-surge.jpg" alt="Fitbit Surge"></td><td><img src="/images/compare-vivoactive.jpg" alt="Garmin V&iacute;voactive"></td><td><img src="/images/compare-gear2.jpg" alt="Samsung Gear&nbsp;2"></td><td><img src="/images/compare-gearLive.jpg" alt="Samsung Gear&nbsp;Live"></td><td><img src="/images/compare-activite.jpg" alt="Withings Activit&eacute;"></td></tr> <tr id="products"><th width="16.67%"><div class="sticky sticky-th"></div></th><th width="16.67%"><div class="sticky"><div class="brand">Fitbit</div><div class="product">Surge</div><div class="price">$249.95</div><div class="remove"><a href="compare.php?vs=vivoactive&amp;vs=gear2&amp;vs=gearLive&amp;vs=activite" class="sB tiny red-border bold round">&#8856; Remove</a></div><th width="16.67%"><div class="sticky"><div class="brand">Garmin</div><div class="product">V&iacute;voactive</div><div class="price">$249.99</div><div class="remove"><a href="compare.php?vs=surge&amp;vs=gear2&amp;vs=gearLive&amp;vs=activite" class="sB tiny red-border bold round">&#8856; Remove</a></div><th width="16.67%"><div class="sticky"><div class="brand">Samsung</div><div class="product">Gear&nbsp;2</div><div class="price">$299.99</div><div class="remove"><a href="compare.php?vs=surge&amp;vs=vivoactive&amp;vs=gearLive&amp;vs=activite" class="sB tiny red-border bold round">&#8856; Remove</a></div><th width="16.67%"><div class="sticky"><div class="brand">Samsung</div><div class="product">Gear&nbsp;Live</div><div class="price">$199.99</div><div class="remove"><a href="compare.php?vs=surge&amp;vs=vivoactive&amp;vs=gear2&amp;vs=activite" class="sB tiny red-border bold round">&#8856; Remove</a></div><th width="16.67%"><div class="sticky"><div class="brand">Withings</div><div class="product">Activit&eacute;</div><div class="price">$450</div><div class="remove"><a href="compare.php?vs=surge&amp;vs=vivoactive&amp;vs=gear2&amp;vs=gearLive" class="sB tiny red-border bold round">&#8856; Remove</a></div></div></th></tr> <tr class="table-specs "><td class="fieldName"><span>Release</span></td><td class="neutral"><span>Jan 2015</span></td><td class="neutral"><span>Jan 2015</span></td><td class="neutral"><span>Apr 2014</span></td><td class="neutral"><span>June 2014</span></td><td class="neutral"><span>Nov 2014</span></td></tr> <tr class="table-category"><td colspan="6">Activity Tracking</td></tr> <tr class="table-specs "><td class="fieldName"><span>Calories</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Distance</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Heart rate</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Sleep</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Steps</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="neutral"><span></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Swim</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Perspiration</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-category"><td colspan="6">Battery</td></tr> <tr class="table-specs "><td class="fieldName"><span>Duration</span></td><td class="neutral"><span>7 days</span></td><td class="neutral"><span>3 weeks<br>(10 hours with GPS)</span></td><td class="neutral"><span>2-3 days</span></td><td class="neutral"><span>1 day</span></td><td class="neutral"><span>8 months</span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Rechargeable</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-category"><td colspan="6">Compatability</td></tr> <tr class="table-specs "><td class="fieldName"><span>Android</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="neutral"><span>Coming soon</span></td></tr> <tr class="table-specs "><td class="fieldName"><span>iOS</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Mac</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="NA"><span>n/a</span></td><td class="NA"><span>n/a</span></td><td class="NA"><span>n/a</span></td><td class="NA"><span>n/a</span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Windows</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="NA"><span>n/a</span></td><td class="NA"><span>n/a</span></td><td class="NA"><span>n/a</span></td><td class="NA"><span>n/a</span></td></tr> <tr class="table-category"><td colspan="6">Connectivity</td></tr> <tr class="table-specs "><td class="fieldName"><span>Bluetooth</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Cellular</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>GPS</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>NFC</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Wi-Fi</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-category"><td colspan="6">Display</td></tr> <tr class="table-specs "><td class="fieldName"><span>Color</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Resolution</span></td><td class="neutral"><span></span></td><td class="neutral"><span>205 x 148</span></td><td class="neutral"><span>320 x 320</span></td><td class="neutral"><span>320 x 320</span></td><td class="NA"><span>n/a</span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Size</span></td><td class="neutral"><span>1.26 inches</span></td><td class="neutral"><span>1.38 inches</span></td><td class="neutral"><span>1.63 inches</span></td><td class="neutral"><span>1.63 inches</span></td><td class="neutral"><span>1.3 inches, round</span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Touch</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Type</span></td><td class="neutral"><span>Monochrome LCD</span></td><td class="neutral"><span>LCD</span></td><td class="neutral"><span>Super AMOLED</span></td><td class="neutral"><span>Super AMOLED</span></td><td class="neutral"><span>Analog</span></td></tr> <tr class="table-category"><td colspan="6">Functions</td></tr> <tr class="table-specs "><td class="fieldName"><span>Audio</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="neutral"><span>via Bluetooth headset</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Clock</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Phone calls</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Vibrating alarm</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="neutral"><span></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Voice control</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td></tr> <tr class="table-category"><td colspan="6">Hardware</td></tr> <tr class="table-specs "><td class="fieldName"><span>Accelerometer</span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td><td class="Yes"><span><i class="fa fa-check fa-lg"></i></span></td></tr> <tr class="table-specs "><td class="fieldName"><span>Camera</span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="No"><span><i class="fa fa-close fa-lg"></i></span></td><td class="neutral"><span>2.1-megapixel still,<br>

720p video UV sensor Water resistance5 ATM5 ATMIP67IP675 ATM Notifications Caller ID Email SMS/text Software App downloads Messaging Music controls Syncing USB data Wireless

</table> </div> </div> <div id="column2"> <div class="column2-section"> </div> <div class="column2-section"> </div> <div class="column2-section"> </div> </div> </div> </div> </div> <div id="footer-container"> <div id="footer"> <div class="category randomLinks"> <div class="category-heading"> <strong>Random Comparisons</strong> </div> <a href="compare.php?vs=smartbandTalk&amp;vs=smartwatch" class="randomLink"><i class="fa fa-random"></i> Sony SmartBand&nbsp;Talk<span class="vs"> vs. </span> Sony Smartwatch&nbsp;3</a>

Apple Watch vs. Samsung Gear Fit vs. Sony SmartBand LG G Watch vs. Misfit Flash vs. Samsung Gear Fit vs. Sony SmartBand Garmin Vívosmart vs. Jawbone UP Move vs. LG G Watch R vs. Misfit Flash vs. Samsung Gear Live Apple Watch vs. Fitbit Surge vs. LG G Watch vs. LG G Watch R vs. Samsung Gear 2 vs. Samsung Gear S

</div> </div> </div> <div id="footer2-container"> <div id="footer2"> </div> </div> [/code]

Từ khóa » Html Colgroup Max Width