Sorry. Didn't notice that I had to add css-d to the To: field myself... ---------- Forwarded message ---------- From: BigSmoke <[EMAIL PROTECTED]> Date: Feb 8, 2006 6:05 PM Subject: Re: [css-d] Does css width property apply to TD elements? To: James Conley <[EMAIL PROTECTED]>
On 2/8/06, James Conley <[EMAIL PROTECTED]> wrote: > Is this a valid method of creating columns of a fixed size of 37px in > IE6 or am I doing something wrong? > What if I applied this class to a <col> element instead? > Or do TD element widths have to be applied directly in HTML as an > attribute to td instead of in CSS? > > CSS: > .UnitsC { > Width:37px; > } > > HTML: > <table style="TABLE-LAYOUT: fixed;"> > <tr> > <td class="UnitsC">data</td> > <td class="UnitsC"></td> > </tr> > </table> > Your example is correct and I'd expect it to work just fine in all major browsers. - Rowan ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/