Quote:
Originally Posted by Lionel
where exactly? I tried that in every single <td>
|
Might be because the code puts DIVS inside the table cells, which are overriding the table cell alignment. Vertical-align can't be applied to divs in that manner. Try this (untested, rough guess):
Add to your CSS:
.top span {
vertical-align:top;
}
Then change the code to (Presumably the innerHTML divs, since you're trying to apply it to a table cell):
<div class="top">
<span style="inline-block">What you want aligned to the top</span>
</div>