[thelist] SPAN and HREF (was RE: CSS: Line-height and IE)

John Eckman eckman at liquidsquid.com
Fri Oct 5 13:05:03 2001


At 01:28 PM 10/5/2001, Matt <mspiegler@lightbulbpress.com> wrote:
>The HTML is:
>
><TD >
><IMG src="images/home_tripbott_answer.gif" width="88" height="13"
>border="0">&nbsp;<A href="#"><IMG
>src="images/home_tripbott_answersbutt.gif" width="11" height="11"
>border="0"> </A> <BR>
>
><SPAN class="text2">Got questions? <A href="#"><SPAN CLASS="link10">Send an
>email</SPAN></A> to an expert or browse our </SPAN><A href="#"><SPAN
>CLASS="link10">FAQs</SPAN></A>.</TD>

Would it be better to use:

<TD class="text2">

and <a href="#" class="link10" >

rather than all these spans? That way, the presentational effects are 
applied directly to the structural elements (this kind of link, class link 
10, should look like this) rather than wrapped inside them (this bit of 
text should look like this, and oh by the way it happens to be inside a link).

Or am I just being anal?

J


John Eckman                     "It'd be a hell of a lot cheaper
www.liquidsquid.com             to just suck on a penny"