首页 > 其他分享 >每日总结-23.4.5

每日总结-23.4.5

时间:2023-04-06 18:24:43浏览次数:39  
标签:总结 每日 padding rgb 23.4 tab font border 255

<%@ page language="java" contentType="text/html; charset=UTF-8"

    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>教学管理系统</title>
<style type="text/css">
body {
 background-color: #F5DEB3 
}
table {
    /*表格边框为实线或者是空心双线*/
    border-collapse: collapse;
    /*边框与边框的空间*/
    border-spacing: 0;
}

a {
    color: rgb(30,144,255);
    text-decoration: none;
    font-size: 12px;
}

a:hover {
    color: rgb(30,144,255);
    text-decoration: underline;
    font-size: 12px;
}

a:visited {
    color: rgb(30,144,255);
    font-size: 12px;
}
/*整个tab层居中,宽度为600px*/
#tabDiv {
    width: 600px;
    margin: 1em auto;
    padding-bottom: 10px;
    border-right: rgb(30,144,255) 1px solid;
    border-top: rgb(30,144,255) 1px solid;
    border-left: rgb(30,144,255) 1px solid;
    border-bottom: rgb(30,144,255) 1px solid;
    background: #ffffff;
}
/*tab头的样式*/
#tabsHead {
    padding-left: 0px;
    height: 26px;
    background-color: rgb(255,250,205);
    font-size: 1em;
    margin: 1px 0px 0px;
    color: rgb(30,144,255);
    line-height: 26px;
}
/*已选tab头(超链接)的样式*/
.curtab {
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
    border-right: rgb(60, 114, 53) 1px solid;
    font-weight: bold;
    float: left;
    cursor: pointer;
    background: #ffffff;
}
/*未选tab头(超链接)的样式*/
.tabs {
    border-right: rgb(60, 114, 53) 1px solid;
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
    font-weight: normal;
    float: left;
    cursor: pointer;
}
p {
    font-size: 12pt;
    text-indent: 2em;
}
li {
      border-bottom-style: solid;
      border-bottom-color: #EEE;
      border-bottom-width: thin;
      height: 25px;
    font-family: "宋体";
    font-size: 12pt;
}
</style>
<script type="text/jscript">    
        //显示tab(tabHeadId:tab头中当前的超链接;tabContentId要显示的层ID)
        function showTab(tabHeadId,tabContentId)
        {
            //tab层
            var tabDiv = document.getElementById("tabDiv");
            //将tab层中所有的内容层设为不可见
            //遍历tab层下的所有子节点
            var taContents = tabDiv.childNodes;
            //将要显示的层设为可见
            document.getElementById(tabContentId).style.display = 'block';          
            //遍历tab头中所有的超链接
            var tabHeads = document.getElementById('tabsHead').getElementsByTagName('a');
            for(i=0; i<tabHeads.length; i++) 
            { 
                //将超链接的样式设为未选的tab头样式
                tabHeads[i].className='tabs'; 
            }
        }
        }
        
</script>
<%
    String display=request.getParameter("display");
    if(display==null){
        display="1";
    }
%>
</head>
<body>
    <div style="width: 100%; font-family: 宋体; text-align: center;"><h1>教师个人主页</h1></div>
    <div id="tabDiv" style="width: 1000px">
        <div id="tabsHead">
            <a id="tabs1" class="tabs" href="Teacher_browse.jsp?display=1">基本资料</a> 
            <a id="tabs2" class="tabs" href="Teacher_browse.jsp?display=2">修改个人信息</a> 
        </div>
        <!--基本资料部分内容-->
        <%if(display.equals("1")){ %>
        <div id="tabContent1" style="display: block">
            <table style="border-width: 0; width: 100%" border="0">
                <tr>
                    <td rowspan="3" style="width: 300px; text-align: center"><img id="obj" alt="教师照片" src="user_wang.png" style="width: 280px" /><br><br><a href="Login.jsp"><button>退出登录</button></a></td>
                    <td colspan="3" rowspan="3">
                        <table border="1" style="border-left-color: rgb(209, 226, 49); border-bottom-color: rgb(209, 226, 49); width: rgb(209, 226, 49); border-top-style: solid; border-top-color: rgb(209, 226, 49); border-right-style: solid; border-left-style: solid; height: 380px; width:700px; border-right-color: rgb(209, 226, 49); border-bottom-style: solid">
                            <tr>
                                <td style="width: 50%; height: 29px">姓名:<%out.print("王建民"); %></td>
                                <td style="width: 50%; height: 29px">电话:<%out.print("13933017276"); %></td>
                            </tr>
                            <tr>
                                <td style="width: 50%; height: 29px">工号:<%out.print("00544"); %></td>
                                <td style="width: 50%; height: 29px">职称:<%out.print("副教授"); %></td>
                            </tr>
                            <tr>
                                <td style="width: 50%; height: 29px">专业:<%out.print("软件工程"); %></td>
                                <td style="width: 50%; height: 29px">院系:<%out.print("信息科学与技术");%></td>
                            </tr>
                            <tr>
                                <td colspan="2"  style="height:10px;width:200px">个性签名:
                                    <%out.print("  咱们的这个 扎!娲 Vber。。。。");%>
                                </td>
                            </tr>
                            <tr><td colspan="2"></td></tr>
                        </table>
                    </td>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
            </table>
        </div>
        <%} else if(display.equals("2")){ %>
        <!--学习经历部分内容-->
        <div id="tabContent2" style="display: block">
            <table border="1" style="border-left-color: rgb(209, 226, 49); border-bottom-color: rgb(209, 226, 49); width: rgb(209, 226, 49); border-top-style: solid; border-top-color: rgb(209, 226, 49); border-right-style: solid; border-left-style: solid; height: 430px; border-right-color: rgb(209, 226, 49); border-bottom-style: solid; width:1000px">
                <tr>
                <td style="width: 150px; height: 29px">姓名:<%out.print("王建民"); %></td>
                <td style="width: 150px; height: 29px">电话:<%out.print("13933017276");%></td>
                <td rowspan="5">
                    <h2 style="text-align:center">教师准则</h2>
                  
                </td>
                </tr>
                <tr>
                <td style="width: 150px; height: 29px">工号:<%out.print("114514"); %></td>
                <td style="width: 150px; height: 29px">职称:<%out.print("副教授"); %></td>
                </tr>
                <tr>
                <td style="width: 150px; height: 29px">专业:<%out.print("软件工程"); %></td>
                <td style="width: 150px; height: 29px">院系:<%out.print("信息科学与技术");%></td>
                </tr>
                <tr>
                <td colspan="2"  style="height:10px;">个性签名:<br>
                <textarea rows="8" cols="20" name="stu_signature" style="font-size:25px;margin:15px">
                <%out.print("  咱们的这个 扎!娲 Vber。。。。"); %>
                </textarea>
                </td>
                </tr>
                <tr><td colspan="2" align="center"><a href="">
                <button  style="width:140px; height:30px;">修改</button>
                </a></td></tr>
            </table>
        </div>
        <%} %>
    </div><br><br><br>
<hr />
    <div style="text-align: center; width: 100%; font-size: 12px; color: #333;">&copy;版权所有:石家庄铁道大学信息科学与技术学院</div>
</body>
</html>

 

标签:总结,每日,padding,rgb,23.4,tab,font,border,255
From: https://www.cnblogs.com/laobing6214/p/17293712.html

相关文章

  • html 元素定位与接口请求总结
    1.下拉框环境:测试生产 <selectid="sid"onchange=""style="margin-right:20px;width:100px;"><optionid="dev"value="dev">测试</option><optionid="prod"value="prod"......
  • 关于AI 绘画,我给你总结了一份详细的关键词(Prompt 知识)
    写在前面随着人工智能技术的不断发展,越来越多的应用场景被发掘。其中,AI绘画是一种新兴的领域,其应用范围涵盖了数字媒体、游戏设计、动画制作、艺术创作等多个领域。在本文中,我们将介绍AI绘画的基本概念、发展历程、技术原理以及应用前景。 基本概念AI绘画是利用人工智能技术......
  • 2023.04.06 - 使用mixin动态混入,对vue组件中的数据做兼容经验总结(xp)
    业务场景:在一个高拍仪的硬件设备中,厂家给了两套不同的API,分别支持winXP和winXP以上版本的系统,而这两套API的实现方式截然不同,一套使用的是http通信,一套是使用scoket通信,方法的调用自然也是不同。我需要在同一组件兼容这两套代码。这种需求下很明显,我除了修改组件里的函数方法,......
  • 2023省选总结
    Day18:30迅速看完T1,T2题面,举手上厕所思考。8:50发现T1没啥可做的,T2花约5分钟想清楚题意。9:00回来码完T1。测大样例发现全过,思考感觉不好拍,于是没写拍。开始思考T2。10:00初步想到转化成圆方树的建模,但是不很自信。思想斗争约10分钟后胡出一个证明(似乎是真的......
  • 胡乱总结-关于人际实验的一些思考与观测。
    分析不妨让事件有意思一点,额哈哈哈.....1.偏见的信徒与刻板印象如果我们思考一些有意思的现象,就是人际中,总会有好人、总会有坏人。当然社会规则肯定不能这么偏见的去定义一个人,所以我们合理科学的说,只能从具体的事件中去定义一个人相对于他者的行为的好与坏,所以我们不应该去人......
  • Java中的Class类 小的总结
    *点击查看代码publicclassProjectConfig{//合作方产品唯一标示publicstaticStringSOURCEID="hthx_swyyssys_0001";//AES加密解密keypublicstaticfinalStringAESKEY="B62i45TKqs1qwJaD";//本地公钥publicstaticfinalString......
  • C/C++ 占位符总结
    ......
  • 每日总结2023-04-05
    今天实现了AndroidStudio从mySQL云端数据库进行登录注册成果  ......
  • 4/5总结备战蓝桥杯
    在今天清明节,放假一天,我早上准备了蓝桥杯,下午也学习了蓝桥杯,然后出去吃了一顿饭,回到宿舍已经10点,然后又学习了蓝桥杯。我学习了以下题:刷题:#include<iostream>#include<bits/stdc++.h>usingnamespacestd;intmain(){ longlonga,b,n; cin>>a>>b>>n; intsum=0; ......
  • 每日总结 4.5
    今天进行了贩卖机的模拟,  实现购买之后减一,点击补货后全部成为满货状态。packageres;importjava.io.IOException;importjakarta.servlet.ServletException;importjakarta.servlet.annotation.WebServlet;importjakarta.servlet.http.HttpServlet;importjakarta......