摘要: <!DOCTYPE html> <html> <body> <table bgcolor = "black" cellspacing= "1" > <tr bgcolor= "white"> <td colspan= "4" align= "center">通讯录</td> </tr> <tr bg 阅读全文
posted @ 2019-11-20 22:39 enych 阅读(158) 评论(0) 推荐(0) 编辑
摘要: div水平和垂直居中,text-align和vertical-align不起作用,因为标签div没有这两个属性,所以再css中设置这两个值不能居中的效果。 1. div水平居中:设置margin的左右边距为自动。margin:0 auto; 2. div中的文字居中:将div的行高设置跟其高度一样的 阅读全文
posted @ 2019-11-20 22:33 enych 阅读(190) 评论(0) 推荐(0) 编辑
摘要: static void SubTest() { Stopwatch sw = new Stopwatch(); sw.Start(); //耗时巨大的代码 sw.Stop(); TimeSpan ts2 = sw.Elapsed; Console.WriteLine("Stopwatch总共花费{0 阅读全文
posted @ 2019-11-20 22:13 enych 阅读(907) 评论(0) 推荐(0) 编辑
摘要: <script> var user = document.getElementById("user"); var pwd = document.getElementById("pwd"); var user_erro = document.getElementById("user_erro"); v 阅读全文
posted @ 2019-11-20 18:07 enych 阅读(568) 评论(0) 推荐(0) 编辑
摘要: select 'A' AS A , B ='B' 阅读全文
posted @ 2019-11-20 09:30 enych 阅读(410) 评论(0) 推荐(0) 编辑