Jump to content

Table is ignoring my 'width="400"' as if it does not exist.


sepoto

Recommended Posts

I have to say this is really rude of this table to ignore my width like it does not even exist like this. Is there something I need to change in the code? Thanks!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>dailysportsguide.com</title></head><body><p>dailysportsguide.com - Your personal daily sports resource. </br><p>20110116  91320  DISH803</br><table width="1100" border="2"><tr><th></th><th>Time:</th><th>Channel:</th></tr><tr><td width="400" bgcolor="#99FFFF">College Basketball</td></tr><tr><td width="400">North Carolina at Georgia Tech</td><td>4:30PM</td><td>413,414,415,416,416HD,417,417HD,418,418HD,419,419HD,420,420HD,421,423,424,424HD,425,426,427,428,428HD,429,429HD,430,430HD,434,436,436HD,437HD,9477HD,</td></tr><tr><td width="400">Purdue at West Virginia</td><td>10:30AM</td><td>2,243,244,2HD,5733,5734,6307HD,74HD,78HD,8001,8101,8201,8301,8401,8491,9483HD,</td></tr><tr><td width="400">Washington at California</td><td>7:00PM</td><td>413,414,415,416,416HD,417,417HD,418,418HD,419,419HD,420,420HD,423,424,424HD,425,426,427,428,428HD,430,430HD,436,436HD,437HD,9477HD,</td></tr><tr><td width="400">Creighton at Indiana State</td><td>10:00AM</td><td>418,421,429,</td></tr><tr><td width="400">Iowa at Minnesota</td><td>3:00PM</td><td>439,439HD,440,441,442,443,5440,9500HD,9501HD,9502HD,9503HD,9504HD,</td></tr><tr><td width="400">Notre Dame at St. John-s</td><td>9:00AM</td><td>412,425,427,432,455,461,</td></tr><tr><td width="400">Auburn at Mississippi State</td><td>12:00PM</td><td>422,422HD,437,458,464,</td></tr><tr><td width="400">Missouri State at Bradley</td><td>5:00PM</td><td>141,</td></tr><tr><td width="400">Akron at Buffalo</td><td>11:00AM</td><td>431,460,</td></tr><tr><td width="400">Valparaiso at Detroit Mercy</td><td>10:00AM</td><td>430,430HD,</td></tr><tr><td width="400">St. Bonaventure at Rhode Island</td><td>1:00PM</td><td>435,</td></tr><tr><td width="400">Eastern Washington at Montana State</td><td>1:00PM</td><td>410,</td></tr><tr><td width="400">Butler at Wright State</td><td>4:00PM</td><td>455,461,</td></tr><tr><td width="400">Holy Cross at Bucknell</td><td>11:00AM</td><td>152,9495,</td></tr><tr><td width="400" bgcolor="#99FFFF">NBA Basketball</td></tr><tr><td width="400">Los Angeles Lakers at Los Angeles Clippers</td><td>12:30PM</td><td>408,411,563,6311,8007,9,</td></tr><tr><td width="400">Denver Nuggets at San Antonio Spurs</td><td>6:00PM</td><td>140,140HD,410,410HD,9424HD,</td></tr><tr><td width="400" bgcolor="#99FFFF">NFL Football</td></tr><tr><td width="400">AFC Divisional Playoff: New York Jets at New England Patriots</td><td>1:30PM</td><td>2,243,244,2HD,5733,5734,6307HD,74HD,78HD,8001,8101,8201,8301,8401,8491,9483HD,</td></tr><tr><td width="400">NFC Divisional Playoff: Seattle Seahawks at Chicago Bears</td><td>10:00AM</td><td>11,11HD,247,248,5737,5738,6309HD,76HD,8003,80HD,8103,8203,8303,8403,8493,</td></tr><tr><td width="400" bgcolor="#99FFFF">NHL Hockey</td></tr><tr><td width="400">Ottawa Senators at Washington Capitals</td><td>12:00PM</td><td>424,424HD,</td></tr><tr><td width="400">Vancouver Canucks at Minnesota Wild</td><td>3:00PM</td><td>436,436HD,</td></tr><tr><td width="400">Philadelphia Flyers at New York Rangers</td><td>4:00PM</td><td>409,409HD,412,</td></tr><tr><td width="400">Edmonton Oilers at Anaheim Ducks</td><td>5:00PM</td><td>408,411,</td></tr><tr><td width="400" bgcolor="#99FFFF">Soccer</td></tr><tr><td width="400">Asian Cup: China vs. Uzbekistan</td><td>8:00AM</td><td>541HD,9428HD,9467HD,</td></tr><tr><td width="400" bgcolor="#99FFFF">PGA Tour Golf</td></tr><tr><td width="400">Sony Open in Hawaii- Final Round</td><td>1:30PM</td><td>401,401HD,9473HD,</td></tr><tr><td width="400" bgcolor="#99FFFF">Tennis</td></tr><tr><td width="400">Australian Open- Day 1</td><td>3:30PM</td><td>144,144HD,5302,9425HD,</td></tr><tr><td width="400">Australian Open- Day 1 (Cont-d)</td><td>9:00PM</td><td>144,144HD,5302,9425HD,</td></tr></table></body></html>

Link to comment
Share on other sites

Well it seem to be width 400px, in FF, Chrome, IE, Opera, have you tried emptying you browser cache/history and then reload/refresh.only invalid code is<p>dailysportsguide.com - Your personal daily sports resource. </br><p>20110116 91320 DISH803</br>should be<p>dailysportsguide.com - Your personal daily sports resource. <br/>20110116 91320 DISH803</p>

Link to comment
Share on other sites

If the content within the table is wider than 400 pixels then the cell will be wider than 400 pixels. That's how tables work.There's a way to fix it with CSS:table-layout: fixed;

Link to comment
Share on other sites

IF! the content is an element with fixed width or a word which length is wider than the cell 400px width, ELSE! if just normal text it would just wrap to next line. The other cells with no fixed width would adjust to accomodate non-fixed width content within each cell, which won't be anywhere near being equally spaced width cells.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...