css设置字体一个左下一个右上

图片说明如图,我想知道在td内怎么一个在左下一个右上,谢谢了各位了。(最好告诉我代码怎么写)

td中放一个div relative定位,然后年度和学历放在absolute定位的容器里面,容器放在div内


<style>
    div.relative{position:relative;height:50px;width:100px}
    div b{position:absolute;}
    div b.leftbottom{left:0;bottom:0}
    div b.righttop{right:0;top:0}
</style>
<table border="1">
    <tr>
        <td>
            <div class="relative">
                <b class="righttop">学历</b>
                <b class="leftbottom">年度</b>
            </div>
        </td>
    </tr>
</table>

里面设置两个盒子,就可以了

设置两个盒子,再看看行不行

浮动,定位都不可以吗

你好