I remember looking at some SO source markup months ago, and it was basically <div>
heaven. The pure CSS zealots would've loved it. But today I look and see...
<DIV id="question" class="">
<TABLE>
<TBODY><TR>
<TD class="votecell">
<DIV class="vote">
<INPUT type="hidden" value="288968">
<IMG class="vote-up" src="./so_files/vote-arrow-up.png" width="40" height="25" alt="vote up" title="This question is useful and clear (click again to undo)">
<SPAN class="vote-count-post">6</SPAN>
<IMG class="vote-down" src="./so_files/vote-arrow-down.png" width="40" height="25" alt="vote down" title="This question is unclear or not useful (click again to undo)">
<BR>
<IMG class="vote-favorite" src="./so_files/vote-favorite-off.png" width="32" height="31" alt="star" title="This is a favorite question (click again to undo)">
<DIV class="favoritecount"><B>2<BR></B></DIV>
</DIV>
</TD>
<TD>
<DIV>
<DIV class="post-text">
Now this doesn't bother me (I'm a pragmatist) but I'm curious... is this something new? Why the change? Did you have issues using floats for this? If so, what?
Edit: Hey it gets better. The tables are nested. Now watch some heads explode. :)
alt
than a badalt
: UAs can do better than a badalt
, but they don't know how to tell if analt
is bad. Of course, it is important to usealt=""
for images that convey no additional information, or the page will be littered with useless junk as rendered by non-graphical UAs, such aslinks
or screen readers. (Or, heck, even by graphical UAs with images turned off!)