Chris Stratford wrote:
I am just writing because I have been wondering if there is a better way of styling text.
Since <B><U><I> etc... are all outlawed and now depreciated...
How do you style your inner <P> text?
First, to clear up some confusion. While neither <b>, nor <i> have been deprecated, there use is frowned upon and they been removed from XHTML2. On the other hand, <u> has been deprecated and is removed as of XHTML1.1. (For a list of deprecated tags as of XHTML1.0 see the "Legacy Module": http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_legacymodule)
As far a <strong> is concerned, it's being considered for deprecation as of XHTML2 (http://www.w3.org/TR/xhtml2/mod-inline-text.html#sec_9.11.).
While it's usually best to avoid underlining text, I wouldn't go so far as banning it.
Presentational class names are problematic. What happens when you decide the text in <span class="bold"></span> should now be italicized? Class and ID names should be chosen to convey semantic meaning such as translit {font-style:italic} and <span class="translit">shalom ahle'chem</span>
For more information, I would suggest reviewing CSS, especially selectors.
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
