View Single Post
Old 10-09-2011, 06:53 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mtrahan View Post
If I just set the td width in my CSS instead of right in the file, it will be the same problem, no?
No, HTML attributes and CSS properties are different, even if they have the same name and intent.

<td width="3%"> is using the "width" HTML attribute, and it is wrong.

<td style="width: 3%"> is using the "width" CSS property, and it is fine.

Whether the latter will do what you want depends on the spec and implementation particulars. Also, you can move it from the "style" attribute to your CSS stylesheet.
Jellby is offline   Reply With Quote