css 表格标题样式设置问题 求解

一个表格的标题  样式设置, 不使用 postion 的情况下怎么设置?
<div>
    <input />  (表格编号,字体小)           这个要在本行的左上角 显示
    <input/>   (主标题,字体大)             这个要在本行的 水平中且 垂直中  显示
    <input/>  (第几页共几页,字体小)   这个要在 本行的 右下角显示
<div>

可以试试这种flex的方案,不知道满足不满足你的需求。

img

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 40px;
        }

        input:nth-child(1) {
            align-self: flex-start;
        }

        input:nth-child(3) {
            align-self: flex-end;
        }
    </style>
</head>

<body>
    <!-- 一个表格的标题 样式设置, 不使用 postion 的情况下怎么设置? -->
    <div>
        <input />
        <!-- (表格编号,字体小) 这个要在本行的左上角 显示 -->
        <input />
        <!-- (主标题,字体大) 这个要在本行的 水平中且 垂直中 显示 -->
        <input />
        <!-- (第几页共几页,字体小) 这个要在 本行的 右下角显示 -->
    </div>
</body>

</html>

<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Direction</title>
        <style type="text/css">
            .box{
                display: flex;
                flex-direction: column;
            }
            .left{
                width: 100px;
                height: 100px;
                background-color: red;
                align-self: flex-start;
            }
            .center{
                width: 100px;
                height: 100px;
                background-color: red;
                align-self: center;
            }
            .right{
                width: 100px;
                height: 100px;
                background-color: red;
                align-self: flex-end;
            }
        </style>
    </head>
    <body >
        <div class="box">
            <div class="left">1</div>
            <div class="center">2</div>
            <div class="right">3</div>
        </div>
        <script>
            
        </script>
    </body>

</html>

建议楼主用画图软件简单勾画一下自己的需求,大概要设计成什么样子

CSS定位三:在不设定position时候,直接设置偏移量(top,left)是无效的!
https://blog.csdn.net/csucsgoat/article/details/111708408

这个给个类名,方法很多

css3 可以用display:flex;来实现或者使用float浮动来实现