table width

For topics about current BETA or future releases, including feature requests.

table width

Postby RSteinwand » Wed Feb 24, 2010 8:39 pm

"Consider using the "width" attribute with the "table" element. This is considered to be good style and can cause the table and page to render faster. Note that this is not a deprecated attribute in HTML 4.01 nor XHTML 1.0. It's also a valid XHTML 1.1 attribute."

"[122] The "table" element contains one or more entirely obsolete (in HTML5) attributes. The HTML5 obsolete attributes for "table" include: "align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", and "width". Consider not using obsolete HTML5 attributes for better future compatibility. This message is displayed only once."

Error w/o width and error with.... Should the first one be changed to suggest using style="width:..."?
Rick
User avatar
RSteinwand
Rank IV - Intermediate
Rank IV - Intermediate
 
Posts: 199
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Re: table width

Postby Albert Wiersch » Wed Apr 07, 2010 9:29 am

Thanks! Sorry, I almost missed this message for some reason.

Now, when the "width" attribute is not valid, like for XHTML Basic and HTML5 documents, it only suggests using the "style" attribute with the "width" CSS property. When the "width" attribute is valid, it now suggests using that or the "style" attribute with the "width" CSS property. This should be in the next update.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: table width

Postby RSteinwand » Wed Apr 07, 2010 9:50 am

Thanks.
Rick
User avatar
RSteinwand
Rank IV - Intermediate
Rank IV - Intermediate
 
Posts: 199
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 2 guests

cron