Basically, one will apply to everything in the td and one will apply to everything wrapped in the span.
As to whether it matters, it depends on what you're doing with the style. If you are just setting font styles, then either is probably fine. If you're going to do a background color or underlining or padding effects, you need to consider if you want that applied to the text block or to the cell. Generally, I reserve using span to very discreet items. For instance: a word that is a special term gets special type treatments. For block level styles, I prefer doing it to block level elements like td, div, or p. -Kevin ----- Original Message ----- From: "Bosky, Dave" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 12:17 PM Subject: CSS guidelines > What's the difference between using a class inside a table cell tag and > using a span tag in a table cell? > Something like: > > <td class="myClass"></td> > > <td><span class="myClass"></span></td> > > Thanks. > Dave > > > > > HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

