[RESOLVED] What's the use of <span> tag with no attributes?

liunx

Guest
I ran into some pages where you have a lot of tables and inside<br />
<br />
<td class="someclass"> <br />
<br />
you have<br />
<br />
<span>1.47 (actual data that displays)</span><br />
<br />
</td><br />
<br />
<br />
I simply don't get it, what purpose does that empty span tag serve?<!--content-->Just because it doesn't have a class doesn't mean it doesn't have stylings in a CSS sheet. Eg:<br />
<br />
<br />
td.someclass span {<br />
font-weight: bold;<br />
}<br />
<br />
The above code will style the span contained in the td with class "someclass"<!--content-->Thanks didn't know that!<!--content-->
 
Top