Z.NoNgHAoQuAn.M 2022-10-14 14:44 采纳率: 81.4%
浏览 48
已结题

html5网页设计设

我想把用户名后面的输入框框取消掉 要怎么取消
还有最下面的虚线取消
他的框框长度text 和password的长度不一样

img

.tdb{ text-align: right;}
.tda{ text-align: center;}
.tdc{ text-align: left;}
td{ text-align: left;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none ;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: darkmagenta;
  }
.picbutton{     border-width: 0px;
        padding: 0px;
        margin: 0px;
        width: 55px;
        height: 20px;
        background-image:url(../img/button.png);
        font-size: 14px;}
.ziti{
      font-family: "楷体";
      font-weight: bold;    
}
.shuru{
      border-top: none;
      border-left: none;
      border-right: none;
  
      border-bottom-width: 1px;
      border-bottom-style: dashed;
      border-bottom-color: darkmagenta;
  }


<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>表格表单练习</title>
        <link rel="stylesheet" type="text/css" href="css/tdstyle.css"/>
    </head>
    <body>
        <form action="" method="get">
        <table border="0" cellspacing="0" cellpadding="2" align="center" >
        <tr><td colspan="2"><img src="img/1000phone.jpg" height="40" width="300" align="center"/></td></tr><br />
        <tr bgcolor=greenyellow>
            <td class="tdb ziti">用户名:</td>
            <td><input type="text" name="stuname"size="15" /></td>
        </tr><br />
        <tr bgcolor=chartreuse>
            <td class="tdb ziti">密码:</td>
            <td><input type="password" name="tlphone" size="15" /></td>
        </tr><br />
        <tr bgcolor=greenyellow>
            <td class="tdb ziti">确认密码:</td>
            <td><input type="password" name="tlphone" size="15"/>
            </td>
        </tr><br />
        <tr bgcolor=chartreuse>
            <td class="tdb ziti">电子邮件:</td>
            <td><input type="text" name="dianziyoujian" size="15" </td>
        </tr><br />
        <tr bgcolor=greenyellow>
            <td class="tdb ziti">电话:</td>
            <td><input type="text" name="dianhua" size="15" </td>
        </tr><br />
        <tr>
            <td  colspan="2" class="tda" >
            <input type="submit" value="登录"class="picbutton ziti" border=bottom: none />    
            <input type="reset" value="重填"/class="picbutton ziti">
            </td>
        </tr>
        </table>
        </form>
    </body>
</html>



  • 写回答

3条回答 默认 最新

  • chongya_123 2022-10-14 14:58
    关注

    input外边框取消outline: none; border: none;input框长度width固定像素即可

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 10月22日
  • 已采纳回答 10月14日
  • 创建了问题 10月14日

悬赏问题

  • ¥15 2024-五一综合模拟赛
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭