Re: Classes

I'm not sure that I totally understand your situation,
but I think it sounds like your designers want to use
classes to apply a specific style to a table cell
(<td>, probably for sizing, color, and borders) and
then apply a different style to the information
contained inside that cell (through <span
class="mystyle">, probably for text positioning, size,
font, color, etc.)

If that is the case, I would definitely agree with
your designers, because using the STYLE attribute is
no longer legal as of the release of XHTML 1.1, but
I'm drifting off topic.

Another thing - make sure your are not using tables
(i.e. the <td> tag) for page layout and positioning
things on your pages.  CSS is a much simpler, more
supported way of accomplishing things.  And CSS
positioned pages are more likely to rank high on
search engines.

Good luck,
David Bindel (chaosdb@yahoo.com)

--- Aaron Starner <cfdjlist@hotmail.com> wrote:

<HR>
<html><DIV>Why would I need to use the "CLASS"
attribute? </DIV>I have an embedded style sheet in an
HTML (actually a CFML) page. 
<DIV></DIV>Each value is dynamically populated from a
database. 
<DIV></DIV>I'm not currently using any (sub?) classes
for each element. 
<DIV></DIV>
<P>Everything is working fine, but our designers want
there to be classes, so that each &lt;td&gt; (for
example) has a CLASS attribute and the content inside
that &lt;td&gt; has a &lt;span Class=&gt; tag.</P>
<P>Why would I need those?! The style code I'm using
isn't THAT complex.</P>
<P>(Is that enough information for you guys?)</P>
<P>Aaron</P><br clear=all><hr>Get your FREE download
of MSN Explorer at <a
href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Received on Wednesday, 13 June 2001 17:59:18 UTC